diff --git a/docs/_build/doctrees/configuration.doctree b/docs/_build/doctrees/configuration.doctree index 363c117..2cb04d0 100644 Binary files a/docs/_build/doctrees/configuration.doctree and b/docs/_build/doctrees/configuration.doctree differ diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 06087ca..c5405fd 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index 6a55879..fe6ab59 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/doctrees/testing.doctree b/docs/_build/doctrees/testing.doctree new file mode 100644 index 0000000..035f3a0 Binary files /dev/null and b/docs/_build/doctrees/testing.doctree differ diff --git a/docs/_build/html/_sources/configuration.txt b/docs/_build/html/_sources/configuration.txt index e69de29..4e1bc96 100644 --- a/docs/_build/html/_sources/configuration.txt +++ b/docs/_build/html/_sources/configuration.txt @@ -0,0 +1,14 @@ +Configuring Django Admin Sortable +================================= + +Configuring django-admin-sortable is quite simple: + + 1. Add ``adminsortable`` to your ``INSTALLED_APPS``. + 2. Ensure ``django.core.context_processors.static`` is in your ``TEMPLATE_CONTEXT_PROCESSORS``. + +Static Media +------------ + +django-admin-sortable includes a few CSS and JavaScript files. The preferred method of getting these files into your project is to use the `staticfiles app `_. + +Alternatively, you can copy or symlink the ``adminsortable`` folder inside the ``static`` directory to the location you serve static files from. diff --git a/docs/_build/html/_sources/index.txt b/docs/_build/html/_sources/index.txt index a91ab69..afebdac 100644 --- a/docs/_build/html/_sources/index.txt +++ b/docs/_build/html/_sources/index.txt @@ -36,6 +36,7 @@ What's New in |version|? Contents: +--------- .. toctree:: :maxdepth: 2 @@ -45,6 +46,7 @@ Contents: usage django-cms known-issues + testing rationale status future diff --git a/docs/_build/html/_sources/testing.txt b/docs/_build/html/_sources/testing.txt new file mode 100644 index 0000000..0ef88cb --- /dev/null +++ b/docs/_build/html/_sources/testing.txt @@ -0,0 +1,12 @@ +Testing +======= + +Have a look at the included :doc:`/sample_project` directory to see a working project. The login credentials for admin are: admin/admin + +When a model is sortable, a tool-area link will be added that says "Change Order". Click this link, and you will be taken to the custom view where you can drag-and-drop the records into order. + +Inlines may be drag-and-dropped into any order directly from the change form. + +Unit and functional tests may be found in the ``app/tests.py`` file and run via: + + $ python manage.py test app diff --git a/docs/_build/html/configuration.html b/docs/_build/html/configuration.html index f71bec3..42b740a 100644 --- a/docs/_build/html/configuration.html +++ b/docs/_build/html/configuration.html @@ -7,7 +7,7 @@ - <no title> — Django Admin Sortable 1.7.0 documentation + Configuring Django Admin Sortable — Django Admin Sortable 1.7.0 documentation @@ -58,8 +58,12 @@
- +
+

Configuring Django Admin Sortable

+

Configuring django-admin-sortable is quite simple:

+
+
    +
  1. Add adminsortable to your INSTALLED_APPS.
  2. +
  3. Ensure django.core.context_processors.static is in your TEMPLATE_CONTEXT_PROCESSORS.
  4. +
+
+
+

Static Media

+

django-admin-sortable includes a few CSS and JavaScript files. The preferred method of getting these files into your project is to use the staticfiles app.

+

Alternatively, you can copy or symlink the adminsortable folder inside the static directory to the location you serve static files from.

+
+
+