Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/battle/forms.py b/battle/forms.py
- index 9516912..d31db35 100644
- --- a/battle/forms.py
- +++ b/battle/forms.py
- @@ -1,4 +1,4 @@
- -from django import newforms as forms
- +from django import forms as forms
- class MainForm(forms.Form):
- option1 = forms.CharField( )
- diff --git a/urls.py b/urls.py
- index 4449348..a18e9c4 100644
- --- a/urls.py
- +++ b/urls.py
- @@ -6,7 +6,7 @@ from os import path as os_path
- # admin.autodiscover()
- urlpatterns = patterns('',
- - (r'$', 'battletweets.battle.views.index'),
- + (r'^$', 'battletweets.battle.views.index'),
- (r'^battle/(?P<query1>[A-Za-z]+)/vs/(?P<query2>[A-Za-z]+)/$', 'battletweets.battle.views.versus_results'),
- # Example:
- # (r'^battletweets/', include('battletweets.foo.urls')),
Add Comment
Please, Sign In to add comment