setup libs
This commit is contained in:
parent
0528359ce8
commit
6f49141f54
3 changed files with 11 additions and 3 deletions
|
@ -25,6 +25,9 @@ INSTALLED_APPS = (
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
|
||||||
|
'admin_resumable',
|
||||||
|
'shortuuidfield',
|
||||||
|
|
||||||
'project.files',
|
'project.files',
|
||||||
'project.pages'
|
'project.pages'
|
||||||
)
|
)
|
||||||
|
@ -153,4 +156,7 @@ STATICFILES_DIRS = (
|
||||||
)
|
)
|
||||||
|
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||||
MEDIA_URL = '/media/'
|
|
||||||
|
ADMIN_RESUMABLE_SHOW_THUMB = True
|
||||||
|
ADMIN_RESUMABLE_SUBDIR = 'uploads'
|
||||||
|
MEDIA_URL = '/'
|
||||||
|
|
|
@ -5,6 +5,7 @@ from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include(admin.site.urls)),
|
||||||
|
url(r'^admin_resumable/', include('admin_resumable.urls')),
|
||||||
url(r'', include("project.pages.urls", namespace="pages"))
|
url(r'', include("project.pages.urls", namespace="pages"))
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
coverage==3.7.1
|
coverage==3.7.1
|
||||||
dj-database-url==0.4.1
|
dj-database-url==0.4.1
|
||||||
django==1.8.13
|
django-admin-resumable-js==1.2
|
||||||
django-shortuuidfield==0.1.3
|
|
||||||
django-flat-theme==1.1.3
|
django-flat-theme==1.1.3
|
||||||
django-log-request-id==1.1.0
|
django-log-request-id==1.1.0
|
||||||
|
django-shortuuidfield==0.1.3
|
||||||
|
django==1.8.13
|
||||||
flake8==2.5.4
|
flake8==2.5.4
|
||||||
opbeat==3.3.4
|
opbeat==3.3.4
|
||||||
psycopg2==2.6.1
|
psycopg2==2.6.1
|
||||||
|
|
Reference in a new issue