Skip to content

Commit

Permalink
Added chaneview placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
shabda committed Feb 5, 2018
1 parent 5b6c0bb commit 9f8cf6f
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/changeview_readonly.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to mark a field as readonly in admin?
++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/current_user.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to associate model with current user while saving?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/custom_button.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to add a custom button to Django change view page?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/filter_fk_dropdown.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to filter FK dropdown values in django admin?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/fk_display.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to change ForeignKey display text in dropdowns?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/imagefield.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to show image from Imagefield in Django admin.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16 changes: 16 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,22 @@ Listview Page
date_based_filtering
boolean_fields

Changeview Page
++++++++++++++++++++++++++++++++++++++++++

.. toctree::
:maxdepth: 1

imagefield
current_user
changeview_readonly
uneditable_field
uneditable_existing
filter_fk_dropdown
many_fks
fk_display
custom_button


Misc
++++++++++++++++++++++++++++++++++++++++++
Expand Down
2 changes: 2 additions & 0 deletions docs/many_fks.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to manage a model with a FK with a large number of objects?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/uneditable_existing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to make a field editable while creating, but read only in existing objects?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 changes: 2 additions & 0 deletions docs/uneditable_field.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
How to show an uneditable field in admin?
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

0 comments on commit 9f8cf6f

Please sign in to comment.