Skip to content

Commit 3e03b11

Browse files
committed
Introduce end-of-line normalization.
This change introduces end-of-line normalization. On checkout, if on Windows, git will convert end-of-line character of all text files to CRLF, and if on *nix systems end-of-line character will be retained as LF. On checkin, LF will be used.
1 parent d685136 commit 3e03b11

30 files changed

+2556
-2555
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

INSTALL.txt

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
1-
=========================
2-
Installation instructions
3-
=========================
4-
5-
There are two ways to install this application for use by your
6-
projects; the first is to do a Subversion checkout::
7-
8-
svn co http://django-dynamic-formset.googlecode.com/svn/trunk/ django-dynamic-formset
9-
10-
The second method is to download a packaged release. The latest
11-
release is 1.1. You can download the source and documentation only,
12-
or include the demo project::
13-
14-
wget http://django-dynamic-formset.googlecode.com/files/jquery.formset-1.1.zip
15-
unzip jquery.formset-1.1.zip -d jquery.formset-1.1
16-
cd jquery.formset-1.1
17-
18-
The plugin files are in the ``src/`` directory. If you downloaded
19-
the archive with the demo project, you'll need to set it up first.
20-
21-
22-
Setting up the demo project
23-
===========================
24-
25-
The demo project is a Django project, showing different ways to
26-
use the plugin. To run the project, you'll need Python_ and Django_.
27-
For instructions on installing them, see their respective sites.
28-
29-
You'll also need PySQLite_ - if you've got Python 2.5 and above, this
30-
is already included in the standard library.
31-
32-
Once you've set up Django, run the following commands to set up the
33-
database and start the development server::
34-
35-
cd demo
36-
python ./manage.py syncdb
37-
python ./manage.py runserver
38-
39-
You can now browse to ``http://localhost:8000/`` and view the examples.
40-
41-
.. _Python: http://python.org/
42-
.. _Django: http://www.djangoproject.com/
43-
.. _PySQLite: http://oss.itsystementwicklung.de/trac/pysqlite
1+
=========================
2+
Installation instructions
3+
=========================
4+
5+
There are two ways to install this application for use by your
6+
projects; the first is to do a Subversion checkout::
7+
8+
svn co http://django-dynamic-formset.googlecode.com/svn/trunk/ django-dynamic-formset
9+
10+
The second method is to download a packaged release. The latest
11+
release is 1.1. You can download the source and documentation only,
12+
or include the demo project::
13+
14+
wget http://django-dynamic-formset.googlecode.com/files/jquery.formset-1.1.zip
15+
unzip jquery.formset-1.1.zip -d jquery.formset-1.1
16+
cd jquery.formset-1.1
17+
18+
The plugin files are in the ``src/`` directory. If you downloaded
19+
the archive with the demo project, you'll need to set it up first.
20+
21+
22+
Setting up the demo project
23+
===========================
24+
25+
The demo project is a Django project, showing different ways to
26+
use the plugin. To run the project, you'll need Python_ and Django_.
27+
For instructions on installing them, see their respective sites.
28+
29+
You'll also need PySQLite_ - if you've got Python 2.5 and above, this
30+
is already included in the standard library.
31+
32+
Once you've set up Django, run the following commands to set up the
33+
database and start the development server::
34+
35+
cd demo
36+
python ./manage.py syncdb
37+
python ./manage.py runserver
38+
39+
You can now browse to ``http://localhost:8000/`` and view the examples.
40+
41+
.. _Python: http://python.org/
42+
.. _Django: http://www.djangoproject.com/
43+
.. _PySQLite: http://oss.itsystementwicklung.de/trac/pysqlite

README.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
============================================
2-
A jQuery plugin for managing Django formsets
3-
============================================
4-
5-
This jQuery_ plugin helps you create more usable Django_ formsets by
6-
allowing clients add and remove forms on the client-side.
7-
8-
For installation instructions, see the file ``INSTALL.txt`` in
9-
this directory; for documentation see the files in the ``docs/``
10-
directory.
11-
12-
The latest versions of these documents can always be found on the
13-
Google Code project web site for this application, which is located at
14-
http://code.google.com/p/django-dynamic-formset/.
15-
16-
.. _jQuery: http://jquery.com/
17-
.. _Django: http://www.djangoproject.com/
1+
============================================
2+
A jQuery plugin for managing Django formsets
3+
============================================
4+
5+
This jQuery_ plugin helps you create more usable Django_ formsets by
6+
allowing clients add and remove forms on the client-side.
7+
8+
For installation instructions, see the file ``INSTALL.txt`` in
9+
this directory; for documentation see the files in the ``docs/``
10+
directory.
11+
12+
The latest versions of these documents can always be found on the
13+
Google Code project web site for this application, which is located at
14+
http://code.google.com/p/django-dynamic-formset/.
15+
16+
.. _jQuery: http://jquery.com/
17+
.. _Django: http://www.djangoproject.com/
Lines changed: 114 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,114 @@
1-
[
2-
{
3-
"pk": 1,
4-
"model": "example.product",
5-
"fields": {
6-
"name": "Black-eyed Peas"
7-
}
8-
},
9-
{
10-
"pk": 10,
11-
"model": "example.product",
12-
"fields": {
13-
"name": "Kidney Beans"
14-
}
15-
},
16-
{
17-
"pk": 3,
18-
"model": "example.product",
19-
"fields": {
20-
"name": "Minty Loin of Lamb"
21-
}
22-
},
23-
{
24-
"pk": 7,
25-
"model": "example.product",
26-
"fields": {
27-
"name": "Olive Oil (Extra Virgin)"
28-
}
29-
},
30-
{
31-
"pk": 8,
32-
"model": "example.product",
33-
"fields": {
34-
"name": "Oreos"
35-
}
36-
},
37-
{
38-
"pk": 2,
39-
"model": "example.product",
40-
"fields": {
41-
"name": "Prime Bac'n"
42-
}
43-
},
44-
{
45-
"pk": 9,
46-
"model": "example.product",
47-
"fields": {
48-
"name": "Reese's Peanut Butter Cups"
49-
}
50-
},
51-
{
52-
"pk": 6,
53-
"model": "example.product",
54-
"fields": {
55-
"name": "Rice Wine Vinegar"
56-
}
57-
},
58-
{
59-
"pk": 4,
60-
"model": "example.product",
61-
"fields": {
62-
"name": "Sweetcorn"
63-
}
64-
},
65-
{
66-
"pk": 5,
67-
"model": "example.product",
68-
"fields": {
69-
"name": "Szechuan Peppercorn"
70-
}
71-
},
72-
{
73-
"pk": 11,
74-
"model": "example.product",
75-
"fields": {
76-
"name": "Uncle Bob's Hot, Hot Sauce"
77-
}
78-
},
79-
{
80-
"pk": 1,
81-
"model": "example.order",
82-
"fields": {
83-
"customer": "Kermit the frog",
84-
"date": "2010-02-13"
85-
}
86-
},
87-
{
88-
"pk": 1,
89-
"model": "example.ordereditem",
90-
"fields": {
91-
"product": 1,
92-
"order": 1,
93-
"quantity": 5
94-
}
95-
},
96-
{
97-
"pk": 2,
98-
"model": "example.ordereditem",
99-
"fields": {
100-
"product": 3,
101-
"order": 1,
102-
"quantity": 1
103-
}
104-
},
105-
{
106-
"pk": 3,
107-
"model": "example.ordereditem",
108-
"fields": {
109-
"product": 7,
110-
"order": 1,
111-
"quantity": 1
112-
}
113-
}
114-
]
1+
[
2+
{
3+
"pk": 1,
4+
"model": "example.product",
5+
"fields": {
6+
"name": "Black-eyed Peas"
7+
}
8+
},
9+
{
10+
"pk": 10,
11+
"model": "example.product",
12+
"fields": {
13+
"name": "Kidney Beans"
14+
}
15+
},
16+
{
17+
"pk": 3,
18+
"model": "example.product",
19+
"fields": {
20+
"name": "Minty Loin of Lamb"
21+
}
22+
},
23+
{
24+
"pk": 7,
25+
"model": "example.product",
26+
"fields": {
27+
"name": "Olive Oil (Extra Virgin)"
28+
}
29+
},
30+
{
31+
"pk": 8,
32+
"model": "example.product",
33+
"fields": {
34+
"name": "Oreos"
35+
}
36+
},
37+
{
38+
"pk": 2,
39+
"model": "example.product",
40+
"fields": {
41+
"name": "Prime Bac'n"
42+
}
43+
},
44+
{
45+
"pk": 9,
46+
"model": "example.product",
47+
"fields": {
48+
"name": "Reese's Peanut Butter Cups"
49+
}
50+
},
51+
{
52+
"pk": 6,
53+
"model": "example.product",
54+
"fields": {
55+
"name": "Rice Wine Vinegar"
56+
}
57+
},
58+
{
59+
"pk": 4,
60+
"model": "example.product",
61+
"fields": {
62+
"name": "Sweetcorn"
63+
}
64+
},
65+
{
66+
"pk": 5,
67+
"model": "example.product",
68+
"fields": {
69+
"name": "Szechuan Peppercorn"
70+
}
71+
},
72+
{
73+
"pk": 11,
74+
"model": "example.product",
75+
"fields": {
76+
"name": "Uncle Bob's Hot, Hot Sauce"
77+
}
78+
},
79+
{
80+
"pk": 1,
81+
"model": "example.order",
82+
"fields": {
83+
"customer": "Kermit the frog",
84+
"date": "2010-02-13"
85+
}
86+
},
87+
{
88+
"pk": 1,
89+
"model": "example.ordereditem",
90+
"fields": {
91+
"product": 1,
92+
"order": 1,
93+
"quantity": 5
94+
}
95+
},
96+
{
97+
"pk": 2,
98+
"model": "example.ordereditem",
99+
"fields": {
100+
"product": 3,
101+
"order": 1,
102+
"quantity": 1
103+
}
104+
},
105+
{
106+
"pk": 3,
107+
"model": "example.ordereditem",
108+
"fields": {
109+
"product": 7,
110+
"order": 1,
111+
"quantity": 1
112+
}
113+
}
114+
]

0 commit comments

Comments
 (0)