etianen / django-watson

Full-text multi-table search application for Django. Easy to install and use, with good performance.
BSD 3-Clause "New" or "Revised" License
1.2k stars 129 forks source link

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

Open bhalalaparas opened 4 years ago

bhalalaparas commented 4 years ago

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'

etianen commented 4 years ago

Can I have a complete traceback please?

On Sun, 16 Aug 2020 at 14:50, Paras Bhalala notifications@github.com wrote:

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'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/275, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEKCDYAKJLKHGZ4Y57A3DSA7PYZANCNFSM4QA2ZR2A .

bhalalaparas commented 4 years ago

Dear sir, If you are able so please do.

Thanks Paras Bhalala

On Mon, Aug 24, 2020, 2:54 PM Dave Hall notifications@github.com wrote:

Can I have a complete traceback please?

On Sun, 16 Aug 2020 at 14:50, Paras Bhalala notifications@github.com wrote:

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'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/275, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AABEKCDYAKJLKHGZ4Y57A3DSA7PYZANCNFSM4QA2ZR2A

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/275#issuecomment-679014839, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTLEZUS573ORXNLGCETHETSCIWV7ANCNFSM4QA2ZR2A .