Matthew Schinckel avatar Matthew Schinckel committed 9009fb2

Moved README from ReST to MD

Comments (0)

Files changed (2)

+# django-admin-additions
+
+There are a few things about the django admin that get me down. Here are solutions to
+those, all bundled up together.
+
+## Installation
+
+Add `'admin_additions'` to you `settings.INSTALLED_APPS`.
+
+Then configure the additions you want to use. The default settings are shown:
+
+    ADMIN_ADDITIONS = {
+        'RETURN_TO_FILTERED_CHANGELIST': False,
+        'SAVE_ON_TOP': True,
+        'LIST_SELECT_RELATED': False,
+        'FULLY_DYNAMIC_FORMSETS': True,
+    }
+
+## Modules/patches/settings
+
+### Return to filtered changelist view
+
+When editing an object, you usually want to revert back to the filtered view
+from whence you came.
+
+This is a monkey-patch that supplements the normal `change_view` method on the
+`ModelAdmin` base class, and ensures that it returns after a POST back to the 
+referring view.
+
+### Save on top
+
+Should be the default: display the save toolbar on the top of every `change_view`.
+
+### LIST_SELECT_RELATED
+
+Turn on automatic `.select_related()` for all queries for a change_list. If you have
+altered the display columns, and do any lookups at all, this is a good idea.
+
+### FULLY_DYNAMIC_FORMSETS
+
+Sets the `extra` value on `InlineModelAdmin` to 0, so you just use the addition button
+instead of having any empty formsets.

README.rst

-# django-admin-additions
-
-There are a few things about the django admin that get me down. Here are solutions to
-those, all bundled up together.
-
-## Installation
-
-Add `'admin_additions'` to you `settings.INSTALLED_APPS`.
-
-Then configure the additions you want to use. The default settings are shown:
-
-    ADMIN_ADDITIONS = {
-        'RETURN_TO_FILTERED_CHANGELIST': False,
-        'SAVE_ON_TOP': True,
-        'LIST_SELECT_RELATED': False,
-        'FULLY_DYNAMIC_FORMSETS': True,
-    }
-
-## Modules/patches/settings
-
-### Return to filtered changelist view
-
-When editing an object, you usually want to revert back to the filtered view
-from whence you came.
-
-This is a monkey-patch that supplements the normal `change_view` method on the
-`ModelAdmin` base class, and ensures that it returns after a POST back to the 
-referring view.
-
-### Save on top
-
-Should be the default: display the save toolbar on the top of every `change_view`.
-
-### LIST_SELECT_RELATED
-
-Turn on automatic `.select_related()` for all queries for a change_list. If you have
-altered the display columns, and do any lookups at all, this is a good idea.
-
-### FULLY_DYNAMIC_FORMSETS
-
-Sets the `extra` value on `InlineModelAdmin` to 0, so you just use the addition button
-instead of having any empty formsets.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.