We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the docs, it says:
In urls.py, call autocomplete_light.autodiscover() before admin.autodiscover()
However, in my experience, you need to put autocomplete_light.autodiscover() also before you import anything from your local apps.
WORKS
from django.contrib import admin from django.conf.urls import patterns, include, url import autocomplete_light autocomplete_light.autodiscover() admin.autodiscover() from localapp.views import CustomView
from django.contrib import admin from django.conf.urls import patterns, include, url from localapp.views import CustomView admin.autodiscover()
DOES NOT WORK
from django.contrib import admin from django.conf.urls import patterns, include, url import autocomplete_light from localapp.views import CustomView autocomplete_light.autodiscover() admin.autodiscover()
The text was updated successfully, but these errors were encountered:
0674edf
Yes, well there's this and that but I never felt like this was really necessary.
I've updated the docs, thanks !
Sorry, something went wrong.
No branches or pull requests
In the docs, it says:
However, in my experience, you need to put autocomplete_light.autodiscover() also before you import anything from your local apps.
WORKS
WORKS
DOES NOT WORK
The text was updated successfully, but these errors were encountered: