-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
30 changed files
with
2,556 additions
and
2,555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
========================= | ||
Installation instructions | ||
========================= | ||
There are two ways to install this application for use by your | ||
projects; the first is to do a Subversion checkout:: | ||
svn co http://django-dynamic-formset.googlecode.com/svn/trunk/ django-dynamic-formset | ||
The second method is to download a packaged release. The latest | ||
release is 1.1. You can download the source and documentation only, | ||
or include the demo project:: | ||
wget http://django-dynamic-formset.googlecode.com/files/jquery.formset-1.1.zip | ||
unzip jquery.formset-1.1.zip -d jquery.formset-1.1 | ||
cd jquery.formset-1.1 | ||
The plugin files are in the ``src/`` directory. If you downloaded | ||
the archive with the demo project, you'll need to set it up first. | ||
Setting up the demo project | ||
=========================== | ||
The demo project is a Django project, showing different ways to | ||
use the plugin. To run the project, you'll need Python_ and Django_. | ||
For instructions on installing them, see their respective sites. | ||
You'll also need PySQLite_ - if you've got Python 2.5 and above, this | ||
is already included in the standard library. | ||
Once you've set up Django, run the following commands to set up the | ||
database and start the development server:: | ||
cd demo | ||
python ./manage.py syncdb | ||
python ./manage.py runserver | ||
You can now browse to ``http://localhost:8000/`` and view the examples. | ||
.. _Python: http://python.org/ | ||
.. _Django: http://www.djangoproject.com/ | ||
.. _PySQLite: http://oss.itsystementwicklung.de/trac/pysqlite | ||
========================= | ||
Installation instructions | ||
========================= | ||
|
||
There are two ways to install this application for use by your | ||
projects; the first is to do a Subversion checkout:: | ||
|
||
svn co http://django-dynamic-formset.googlecode.com/svn/trunk/ django-dynamic-formset | ||
|
||
The second method is to download a packaged release. The latest | ||
release is 1.1. You can download the source and documentation only, | ||
or include the demo project:: | ||
|
||
wget http://django-dynamic-formset.googlecode.com/files/jquery.formset-1.1.zip | ||
unzip jquery.formset-1.1.zip -d jquery.formset-1.1 | ||
cd jquery.formset-1.1 | ||
|
||
The plugin files are in the ``src/`` directory. If you downloaded | ||
the archive with the demo project, you'll need to set it up first. | ||
|
||
|
||
Setting up the demo project | ||
=========================== | ||
|
||
The demo project is a Django project, showing different ways to | ||
use the plugin. To run the project, you'll need Python_ and Django_. | ||
For instructions on installing them, see their respective sites. | ||
|
||
You'll also need PySQLite_ - if you've got Python 2.5 and above, this | ||
is already included in the standard library. | ||
|
||
Once you've set up Django, run the following commands to set up the | ||
database and start the development server:: | ||
|
||
cd demo | ||
python ./manage.py syncdb | ||
python ./manage.py runserver | ||
|
||
You can now browse to ``http://localhost:8000/`` and view the examples. | ||
|
||
.. _Python: http://python.org/ | ||
.. _Django: http://www.djangoproject.com/ | ||
.. _PySQLite: http://oss.itsystementwicklung.de/trac/pysqlite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
============================================ | ||
A jQuery plugin for managing Django formsets | ||
============================================ | ||
This jQuery_ plugin helps you create more usable Django_ formsets by | ||
allowing clients add and remove forms on the client-side. | ||
For installation instructions, see the file ``INSTALL.txt`` in | ||
this directory; for documentation see the files in the ``docs/`` | ||
directory. | ||
The latest versions of these documents can always be found on the | ||
Google Code project web site for this application, which is located at | ||
http://code.google.com/p/django-dynamic-formset/. | ||
.. _jQuery: http://jquery.com/ | ||
.. _Django: http://www.djangoproject.com/ | ||
============================================ | ||
A jQuery plugin for managing Django formsets | ||
============================================ | ||
|
||
This jQuery_ plugin helps you create more usable Django_ formsets by | ||
allowing clients add and remove forms on the client-side. | ||
|
||
For installation instructions, see the file ``INSTALL.txt`` in | ||
this directory; for documentation see the files in the ``docs/`` | ||
directory. | ||
|
||
The latest versions of these documents can always be found on the | ||
Google Code project web site for this application, which is located at | ||
http://code.google.com/p/django-dynamic-formset/. | ||
|
||
.. _jQuery: http://jquery.com/ | ||
.. _Django: http://www.djangoproject.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,114 +1,114 @@ | ||
[ | ||
{ | ||
"pk": 1, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Black-eyed Peas" | ||
} | ||
}, | ||
{ | ||
"pk": 10, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Kidney Beans" | ||
} | ||
}, | ||
{ | ||
"pk": 3, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Minty Loin of Lamb" | ||
} | ||
}, | ||
{ | ||
"pk": 7, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Olive Oil (Extra Virgin)" | ||
} | ||
}, | ||
{ | ||
"pk": 8, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Oreos" | ||
} | ||
}, | ||
{ | ||
"pk": 2, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Prime Bac'n" | ||
} | ||
}, | ||
{ | ||
"pk": 9, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Reese's Peanut Butter Cups" | ||
} | ||
}, | ||
{ | ||
"pk": 6, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Rice Wine Vinegar" | ||
} | ||
}, | ||
{ | ||
"pk": 4, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Sweetcorn" | ||
} | ||
}, | ||
{ | ||
"pk": 5, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Szechuan Peppercorn" | ||
} | ||
}, | ||
{ | ||
"pk": 11, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Uncle Bob's Hot, Hot Sauce" | ||
} | ||
}, | ||
{ | ||
"pk": 1, | ||
"model": "example.order", | ||
"fields": { | ||
"customer": "Kermit the frog", | ||
"date": "2010-02-13" | ||
} | ||
}, | ||
{ | ||
"pk": 1, | ||
"model": "example.ordereditem", | ||
"fields": { | ||
"product": 1, | ||
"order": 1, | ||
"quantity": 5 | ||
} | ||
}, | ||
{ | ||
"pk": 2, | ||
"model": "example.ordereditem", | ||
"fields": { | ||
"product": 3, | ||
"order": 1, | ||
"quantity": 1 | ||
} | ||
}, | ||
{ | ||
"pk": 3, | ||
"model": "example.ordereditem", | ||
"fields": { | ||
"product": 7, | ||
"order": 1, | ||
"quantity": 1 | ||
} | ||
} | ||
] | ||
[ | ||
{ | ||
"pk": 1, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Black-eyed Peas" | ||
} | ||
}, | ||
{ | ||
"pk": 10, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Kidney Beans" | ||
} | ||
}, | ||
{ | ||
"pk": 3, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Minty Loin of Lamb" | ||
} | ||
}, | ||
{ | ||
"pk": 7, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Olive Oil (Extra Virgin)" | ||
} | ||
}, | ||
{ | ||
"pk": 8, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Oreos" | ||
} | ||
}, | ||
{ | ||
"pk": 2, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Prime Bac'n" | ||
} | ||
}, | ||
{ | ||
"pk": 9, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Reese's Peanut Butter Cups" | ||
} | ||
}, | ||
{ | ||
"pk": 6, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Rice Wine Vinegar" | ||
} | ||
}, | ||
{ | ||
"pk": 4, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Sweetcorn" | ||
} | ||
}, | ||
{ | ||
"pk": 5, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Szechuan Peppercorn" | ||
} | ||
}, | ||
{ | ||
"pk": 11, | ||
"model": "example.product", | ||
"fields": { | ||
"name": "Uncle Bob's Hot, Hot Sauce" | ||
} | ||
}, | ||
{ | ||
"pk": 1, | ||
"model": "example.order", | ||
"fields": { | ||
"customer": "Kermit the frog", | ||
"date": "2010-02-13" | ||
} | ||
}, | ||
{ | ||
"pk": 1, | ||
"model": "example.ordereditem", | ||
"fields": { | ||
"product": 1, | ||
"order": 1, | ||
"quantity": 5 | ||
} | ||
}, | ||
{ | ||
"pk": 2, | ||
"model": "example.ordereditem", | ||
"fields": { | ||
"product": 3, | ||
"order": 1, | ||
"quantity": 1 | ||
} | ||
}, | ||
{ | ||
"pk": 3, | ||
"model": "example.ordereditem", | ||
"fields": { | ||
"product": 7, | ||
"order": 1, | ||
"quantity": 1 | ||
} | ||
} | ||
] |
Oops, something went wrong.