Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The model Schedule is already registered #285

Closed
edebruyne opened this issue Jan 11, 2018 · 5 comments
Closed

The model Schedule is already registered #285

edebruyne opened this issue Jan 11, 2018 · 5 comments

Comments

@edebruyne
Copy link

Since i update to django 2.0 i can't launch my project with django q enable.
python3.6/site-packages/django_q/admin.py", line 120, in
admin.site.register(Schedule, ScheduleAdmin)
django.contrib.admin.sites.AlreadyRegistered: The model Schedule is already registered

What can i do ?

@Eagllus
Copy link
Collaborator

Eagllus commented Jan 11, 2018

I am running Django 2.0 with Django-Q 0.9 without any problems.
It seems to me you have a other Model that is called Schedule and is already registered.

@edebruyne
Copy link
Author

That was my first check and i don't have one. Nor the word Schedule inside my entire App.

@Koed00
Copy link
Owner

Koed00 commented Jan 11, 2018

I also don't have this problem. Could it be you have some other package installed that tries to register that model name?

@edebruyne
Copy link
Author

Ok that was caused by django_jet. Thanks for your help.

@Eagllus
Copy link
Collaborator

Eagllus commented Jan 11, 2018

Anytime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants