diff --git a/gdrive_to_commons/settings.py b/gdrive_to_commons/settings.py index 8f39574..b2dfb0a 100644 --- a/gdrive_to_commons/settings.py +++ b/gdrive_to_commons/settings.py @@ -35,6 +35,7 @@ "uploader", "rest_framework", "social_django", + "tellme", ] MIDDLEWARE = [ diff --git a/gdrive_to_commons/urls.py b/gdrive_to_commons/urls.py index 9e5cbb4..5f2381b 100644 --- a/gdrive_to_commons/urls.py +++ b/gdrive_to_commons/urls.py @@ -32,5 +32,6 @@ path(r"admin/", admin.site.urls), url(r"^api-auth/", include("rest_framework.urls")), url(r"^oauth/", include("social_django.urls", namespace="social")), + url(r'^tellme/', include("tellme.urls")), path("", HomePageView.as_view(), name="home_page"), ] + static(settings.STATIC_URL_DEPLOYMENT, document_root=settings.STATIC_ROOT) diff --git a/requirements.txt b/requirements.txt index c984473..f59c30e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -48,3 +48,5 @@ urllib3==1.25.3 virtualenv==16.6.0 Werkzeug==0.15.4 zipp==0.5.1 +django-tellme==0.6.5 +Pillow==7.1.1 diff --git a/uploader/templates/upload.html b/uploader/templates/upload.html index 305d959..033d925 100644 --- a/uploader/templates/upload.html +++ b/uploader/templates/upload.html @@ -1,389 +1,395 @@ -{% extends 'base/base.html' %} - -{% load static %} - -{% block meta %} - -{% endblock %} {% block body %} - -
-
-
- -
- -
- -
- -
- -
-
-
- -{% endblock body %} - -{% block scripts %} - - - - - -{% endblock scripts %} +{% extends 'base/base.html' %} + +{% load static %} + +{% block meta %} + + +{% endblock %} {% block body %} + + +
+
+
+ +
+ +
+ +
+ +
+ +
+
+
+{% include 'tellme/js_inc.html' %} + +{% endblock body %} + +{% block scripts %} + + + + + +{% endblock scripts %}