django-admin-sortable-fixwin/docs/testing.rst

15 lines
567 B
ReStructuredText

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
$ python manage.py test app