Home > Blockchain >  Django throws an error: LookupError: No installed app with label 'admin'
Django throws an error: LookupError: No installed app with label 'admin'

Time:01-24

Today after installing django-cryptography for encrypting all fields in my models using this Image

CodePudding user response:

According to your error log your error is due to including admin urls. Please import your admin app in your urls file like this...

from django.contrib import admin

urlpatterns = [
   path('admin/', admin.site.urls),
]

CodePudding user response:

I solve my problem through Ken Whitesell in django forums:

the version of django-cryptography I'm using is not compatible with the combination of my python and django verison, that is the reasons why i'm getting this error.

  • Related