--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/25d99dff-e122-460e-9102-1e2a3331f737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi! Did you run migrations after adding 'django.contrib.auth' to your INSTALLED_APPS?
On 6 Jan 2017, at 07:30, Rasika <rasikachi...@gmail.com> wrote:
from django.contrib.auth import get_user_modelwhy I am not able to find the code forget_user_model in auth app.While when I searched https://docs.djangoproject.com/en/dev/_modules/django/contrib/auth/#get_user_model I find this definitiondef get_user_model(): """ Returns the User model that is active in this project. """ try: return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False) except ValueError: raise ImproperlyConfigured("AUTH_USER_MODEL must be of the form 'app_label.model_name'") except LookupError: raise ImproperlyConfigured( "AUTH_USER_MODEL refers to model '%s' that has not been installed" % settings.AUTH_USER_MODEL )Please help me.Thank you--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/25d99dff-e122-460e-9102-1e2a3331f737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/752EA800-E630-4692-A55E-04E91F3A4DB1%40gmail.com.