Skip to content

AttributeError: module 'blog.admin' has no attribute 'site' #275

@bhalalaparas

Description

@bhalalaparas

INSTALLED_APPS = [
'blog',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]

when I added my application name in INSTALLED_APPS in settings.py file. give this type of errors:
AttributeError: module 'blog.admin' has no attribute 'site'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions