File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
from django import forms
7
7
from django .contrib .admin .widgets import AdminSplitDateTime
8
+ from django .contrib .gis import forms as gisforms
8
9
from django .contrib .messages import constants as DEFAULT_MESSAGE_LEVELS
9
10
from django .forms .formsets import formset_factory
10
11
from django .template import engines
@@ -89,6 +90,7 @@ class TestForm(forms.Form):
89
90
addon = forms .CharField (
90
91
widget = forms .TextInput (attrs = {'addon_before' : 'before' , 'addon_after' : 'after' }),
91
92
)
93
+ polygon = gisforms .PointField ()
92
94
93
95
required_css_class = 'bootstrap3-req'
94
96
Original file line number Diff line number Diff line change 17
17
'django.contrib.sessions' ,
18
18
'django.contrib.messages' ,
19
19
'django.contrib.staticfiles' ,
20
+ 'django.contrib.gis' ,
20
21
21
22
# We test this one
22
23
'bootstrap3' ,
42
43
43
44
ROOT_URLCONF = None
44
45
46
+ STATIC_URL = '/static/'
47
+
45
48
BOOTSTRAP3 = {
46
49
'theme_url' : '//example.com/theme.css' ,
47
50
'javascript_in_head' : True ,
You can’t perform that action at this time.
0 commit comments