Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:WoLpH/django-admin-generator int…
Browse files Browse the repository at this point in the history
…o develop
  • Loading branch information
wolph committed Nov 9, 2020
2 parents ff29f38 + 71ce48e commit 8847d16
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ The Django Admin Generator is a project which can automatically generate
(scaffold) a Django Admin for you. By doing this it will introspect your
models and automatically generate an Admin with properties like:

- `list_display` for all local fields
- `list_filter` for foreign keys with few items
- `raw_id_fields` for foreign keys with a lot of items
- `search_fields` for name and `slug` fields
- `prepopulated_fields` for `slug` fields
- `date_hierarchy` for `created_at`, `updated_at` or `joined_at` fields
- ``list_display`` for all local fields
- ``list_filter`` for foreign keys with few items
- ``raw_id_fields`` for foreign keys with a lot of items
- ``search_fields`` for name and ``slug`` fields
- ``prepopulated_fields`` for ``slug`` fields
- ``date_hierarchy`` for ``created_at``, ``updated_at`` or ``joined_at`` fields

Links
-----
Expand All @@ -42,10 +42,10 @@ Install

To install:

1. Run `pip install django-admin-generator` or execute `python setup.py install` in the source directory
2. Add `django_admin_generator` to your `INSTALLED_APPS`
1. Run ``pip install django-admin-generator`` or execute ``python setup.py install`` in the source directory
2. Add ``django_admin_generator`` to your ``INSTALLED_APPS``

If you want to run the tests, run `py.test` (requires `pytest`)
If you want to run the tests, run ``py.test`` (requires ``pytest``)

Usage
-----
Expand Down

0 comments on commit 8847d16

Please sign in to comment.