No table Error: requests_requests
jr177 opened this issue · comments
Django version 2.2.3
Trying to run django-requests.
I followed the steps in the docs and the app installed. I ran manage.py migrate. However, when I try to now run my app, it seems that the app cannot find the tables, i.e. the request table was never built.
This is the error:
no such table: request_request
Here is my migrations:
Operations to perform:
Apply all migrations: admin, auth, catalog, contenttypes, djcelery, sessions
Running migrations:
No migrations to apply.
Here is my settings.py
INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'catalog',
'requests',
'djcelery',
]
MIDDLEWARE = [
'django_bot_crawler_blocker.django_bot_crawler_middleware.CrawlerBlockerMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'request.middleware.RequestMiddleware'
]
You made a typo in INSTALLED_APPS
. It should be 'request'
instead of 'requests'
.
Thank you - I really appreciate it! Sorry I'm dyslexic.