finished import function

This commit is contained in:
2016-06-07 18:19:22 +02:00
parent 20f0a836e5
commit 5a0a1daa39
2 changed files with 17 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ urlpatterns = patterns('',
url(r'^$', 'tipp.views.home', name='home'),
url(r'^login$', 'django.contrib.auth.views.login', {'template_name': 'login.html'}),
url(r'^logout$', 'django.contrib.auth.views.logout', {'next_page': '/'}),
url(r'^import/(?P<ls>.*)/(?P<season>\d{4})$', 'tipp.views.import', name='import'),
url(r'^getSeason/(?P<ls>.*)/(?P<season>\d{4})$', 'tipp.views.getSeason'),
url(r'^update/(?P<ls>.*)/(?P<season>\d{4})/(?P<cur_md>\d{2})$', 'tipp.views.update', name='update'),
url(r'^matchday/(?P<ls>.{3,})/(?P<season>\d{4})/(?P<matchday>\d{2})$', 'tipp.views.matchday', name='matchday'),
url(r'^charts/(?P<ls>\w{3,})/(?P<season>\d{4})$', 'tipp.views.charts', name='charts'),