Skip to content

NoActiveTermsOfService after resetting the DB #86

@GFuhr

Description

@GFuhr

Hi,
I'm new to django and django-tos but I had the following issue :
First I started a new project, create my superuser, add my app etc and then add django-tos and it was working well, in particular I was able to log to the admin page.
Then I deleted the sqlite file (so full reset of the DB, superuser included) and create again my superuser.
However this time, since the migration for django-tos happened at the same time that I created to project I'm not even able to log for the 1st time to the admin page since there is no ToS configured and I have the exception :
NoActiveTermsOfService at /terms-of-service/confirm/
['Please create an active Terms-of-Service']

Regards,
Guillaume

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions