Skip to content

Instantly share code, notes, and snippets.

@djjudas21
Created February 27, 2020 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djjudas21/ec2b83ef5666543ac0f90f555e50f319 to your computer and use it in GitHub Desktop.
Save djjudas21/ec2b83ef5666543ac0f90f555e50f319 to your computer and use it in GitHub Desktop.
django-data-wizard troubleshooting
Django>=2.1.0,<3.0.0
pytz>=2019.0,<2020.0
sqlparse>=0.3.0,<1.0.0
django-money>=0.15,<1.0
django-choices>=1.7.0,<2.0.0
django-favicon>=0.1.3,<1.0.0
psycopg2-binary>=2.8.0,<3.0.0
PyMySQL>=0.9.0,<1.0.0
django-currentuser>=0.4.0,<0.5.0
uWSGI>=2.0.0,<3.0.0
django-getenv>=1.3.2,<2.0.0
django-tables2>=2.1.1,<3.0.0
django-crispy-forms>1.8.0,<2.0.0
django-autosequence>=0.6.0,<1.0.0
django-sendgrid-v5>=0.7.0,<1.0.0
pbr>=5.0.0,<6.0.0
django-registration>=3.0.0,<4.0.0
django-moderation>=0.7.0,<1.0.0
django-fullurl>=1.0,<2.0
data-wizard>=1.3.0,<2.0.0
System check identified no issues (0 silenced).
February 26, 2020 - 17:20:58
Django version 2.2.9, using settings 'camerahub.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[26/Feb/2020 17:21:03] "GET /static/admin/img/icon-no.svg HTTP/1.1" 200 560
[26/Feb/2020 17:21:06] "POST /datawizard/3/auto/ HTTP/1.1" 200 1983
[26/Feb/2020 17:21:06] "GET /favicon.ico HTTP/1.1" 301 0
[26/Feb/2020 17:21:06] "GET /static/favicon.ico HTTP/1.1" 200 3262
Forbidden: /datawizard/3/status/
[26/Feb/2020 17:21:07] "GET /datawizard/3/status/?format=json&task=1107fc6f-b995-4de9-9328-fef7c03b4a81 HTTP/1.1" 403 58
Forbidden: /datawizard/3/status/
[26/Feb/2020 17:21:08] "GET /datawizard/3/status/?format=json&task=1107fc6f-b995-4de9-9328-fef7c03b4a81 HTTP/1.1" 403 58
Forbidden: /datawizard/3/status/
[26/Feb/2020 17:21:09] "GET /datawizard/3/status/?format=json&task=1107fc6f-b995-4de9-9328-fef7c03b4a81 HTTP/1.1" 403 58
Forbidden: /datawizard/3/status/
[26/Feb/2020 17:21:11] "GET /datawizard/3/status/?format=json&task=1107fc6f-b995-4de9-9328-fef7c03b4a81 HTTP/1.1" 403 58
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'schema',
'djmoney',
'favicon',
'django_tables2',
'crispy_forms',
'moderation',
'fullurl',
'data_wizard',
'data_wizard.sources',
]
# Have tried with and without this section
DATA_WIZARD = {
# 'BACKEND': 'data_wizard.backends.threading',
#'LOADER': 'data_wizard.loaders.FileLoader',
#'IDMAP': 'data_wizard.idmap.never', # 'data_wizard.idmap.existing' in 2.0
#'AUTHENTICATION': 'rest_framework.authentication.SessionAuthentication',
'PERMISSION': 'rest_framework.permissions.IsAdminUser',
}
urlpatterns = [
path('', include('schema.urls')),
path('admin/', admin.site.urls),
path('accounts/', include('django_registration.backends.activation.urls')),
path('accounts/', include('django.contrib.auth.urls')),
path('', include('favicon.urls')),
path('datawizard/', include('data_wizard.urls')),
]
import data_wizard
from .models import CameraModel
data_wizard.register(CameraModel)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment