django-admin-sortable/docs/testing.rst

15 lines
567 B
ReStructuredText
Raw Normal View History

2014-08-21 03:57:01 +00:00
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:
.. code-block:: bash
2014-08-21 03:57:01 +00:00
$ python manage.py test app