I removed them but still see the error. در یکشنبه 7 آوریل 2019، ساعت 14:28:18 (UTC+4:30)، Saeed Pooladzadeh نوشته: > > Hello > > I've added an external library in django. I have installed in installed > apps but when I try to migrate the model I keep getting this error: > > ERRORS: > ?: (admin.E408) 'django.contrib.auth.middleware.AuthenticationMiddleware' > must be in MIDDLEWARE in order to use the admin application. > ?: (admin.E409) 'django.contrib.messages.middleware.MessageMiddleware' > must be in MIDDLEWARE in order to use the admin application. > The interactive Python process has exited. > The interactive Python process has exited. > > and my middleware is this: > > MIDDLEWARE_CLASSES = [ > 'django.middleware.security.SecurityMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.middleware.common.CommonMiddleware', > 'django.middleware.csrf.CsrfViewMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', > 'django.contrib.messages.middleware.MessageMiddleware', > 'django.middleware.clickjacking.XFrameOptionsMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.messages.middleware.MessageMiddleware' > ] > > Also my IDE is visual studio. > > Please inform me. > > Saeed > > >
-- 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 [email protected]. To post to this group, send email to [email protected]. 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/ce8a8529-6be2-4b9f-b79b-1aeb6a65109f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

