Skip to content

Commit aab55c1

Browse files
committed
The install files are preparing
1 parent fb0f8ba commit aab55c1

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.md

README.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ or
1414
#### forms.py
1515

1616
```python
17+
# -*- coding: utf-8 -*-
1718
from django import forms
18-
from widgets import SplitJSONWidget
19+
from splitjson.widgets import SplitJSONWidget
20+
1921

2022
class testForm(forms.Form):
2123
attrs = {'class': 'special', 'size': '40'}
@@ -24,6 +26,7 @@ class testForm(forms.Form):
2426

2527
#### views.py
2628
```python
29+
# -*- coding: utf-8 -*-
2730
from django.shortcuts import render_to_response
2831
from django.template import RequestContext
2932
from forms import testForm
@@ -77,8 +80,10 @@ def test_dict(request):
7780

7881
#### forms.py
7982
```python
83+
# -*- coding: utf-8 -*-
8084
from django import forms
81-
from widgets import SplitJSONWidget
85+
from splitjson.widgets import SplitJSONWidget
86+
8287

8388
class testForm(forms.Form):
8489
attrs = {'class': 'special', 'size': '40'}
@@ -87,6 +92,7 @@ class testForm(forms.Form):
8792

8893
#### views.py
8994
```python
95+
# -*- coding: utf-8 -*-
9096
from django.shortcuts import render_to_response
9197
from django.template import RequestContext
9298
from forms import testForm
@@ -148,8 +154,9 @@ def test_nested_dict(request):
148154

149155
#### forms.py
150156
```python
157+
# -*- coding: utf-8 -*-
151158
from django import forms
152-
from widgets import SplitJSONWidget
159+
from splitjson.widgets import SplitJSONWidget
153160

154161

155162
class testForm(forms.Form):
@@ -159,6 +166,7 @@ class testForm(forms.Form):
159166

160167
#### views.py
161168
```python
169+
# -*- coding: utf-8 -*-
162170
from django.shortcuts import render_to_response
163171
from django.template import RequestContext
164172
from forms import testForm
@@ -209,9 +217,10 @@ def test_list(request):
209217

210218
#### forms.py
211219
```python
212-
# -*- coding: utf8 -*-
220+
# -*- coding: utf-8 -*-
213221
from django import forms
214-
from widgets import SplitJSONWidget
222+
from splitjson.widgets import SplitJSONWidget
223+
215224

216225
class testForm(forms.Form):
217226
attrs = {'class': 'special', 'size': '40'}
@@ -220,6 +229,7 @@ class testForm(forms.Form):
220229

221230
#### views.py
222231
```python
232+
# -*- coding: utf-8 -*-
223233
from django.shortcuts import render_to_response
224234
from django.template import RequestContext
225235
from forms import testForm

setup.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def find_version(*file_paths):
2222

2323
# Provided as an attribute, so you can append to these instead
2424
# of replicating them:
25-
standard_exclude = ('*.py', '*.pyc', '*$py.class', '*~', '.*', '*.bak')
26-
standard_exclude_directories = ('.*', 'CVS', '_darcs', './build',
25+
standard_exclude = ('*.py', '*.pyc', '*$py.class', '*~', '*.bak')
26+
standard_exclude_directories = ('CVS', '_darcs', './build',
2727
'./dist', 'EGG-INFO', '*.egg-info')
2828

2929

@@ -143,5 +143,6 @@ def find_package_data(where='.', package='',
143143
'Topic :: Internet :: WWW/HTTP',
144144
],
145145
zip_safe=True,
146-
install_requires=[],
146+
install_requires=(
147+
'Django>=1.3'),
147148
)

0 commit comments

Comments
 (0)