mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-04-12 01:50:57 +00:00
Merge pull request #260 from krukas/master
[BUGFIX] Fixed buildwatson error with no admin installed
This commit is contained in:
commit
ee652e3b33
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ from watson.models import SearchEntry
|
|||
|
||||
|
||||
# Sets up registration for django-watson's admin integration.
|
||||
admin.autodiscover()
|
||||
if apps.is_installed("django.contrib.admin"):
|
||||
admin.autodiscover()
|
||||
|
||||
|
||||
def get_engine(engine_slug_):
|
||||
|
|
|
|||
Loading…
Reference in a new issue