Browse Source

Merge pull request #8 from andela/ft-heroku-integration

ft -heroku-static-files-integration
pull/87/head
Falade Ayodeji Mayowa 8 years ago
committed by GitHub
parent
commit
2910dfa1fc
2 changed files with 9 additions and 13 deletions
  1. +5
    -0
      hc/urls.py
  2. +4
    -13
      requirements.txt

+ 5
- 0
hc/urls.py View File

@ -1,5 +1,6 @@
from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.staticfiles import views
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
@ -8,3 +9,7 @@ urlpatterns = [
url(r'^', include('hc.front.urls')),
url(r'^', include('hc.payments.urls'))
]
urlpatterns += [
url(r'^static/(?P<path>.*)$', views.serve),
]

+ 4
- 13
requirements.txt View File

@ -1,20 +1,11 @@
boto==2.42.0
cssselect==0.9.2
cssutils==1.0.1
dj-database-url==0.4.1
Django==1.10
django-appconf==1.0.1
django-compressor==2.1
django-ses-backend==0.1.1
Django==1.10
django_compressor==2.1
djmail==0.11.0
futures==3.0.3
gunicorn==19.6.0
lxml==3.6.4
mock==2.0.0
pbr==1.10.0
premailer==2.9.6
psycopg2==2.6.1
rcssmin==1.0.6
requests==2.9.1
rjsmin==1.0.12
six==1.10.0
mock==2.0.0
dj-database-url==0.4.1

Loading…
Cancel
Save