Skip to content

Commit

Permalink
Introduce end-of-line normalization.
Browse files Browse the repository at this point in the history
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
lemuelf committed Feb 28, 2014
1 parent d685136 commit 3e03b11
Show file tree
Hide file tree
Showing 30 changed files with 2,556 additions and 2,555 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
86 changes: 43 additions & 43 deletions INSTALL.txt
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
34 changes: 17 additions & 17 deletions README.txt
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/
228 changes: 114 additions & 114 deletions demo/example/fixtures/initial_data.json
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
}
}
]
Loading

0 comments on commit 3e03b11

Please sign in to comment.