Skip to content

Commit

Permalink
Merge branch 'master' of github.com:django-extensions/django-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
trbs committed May 29, 2015
2 parents 6845ba2 + 072f46f commit 53ff12e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions django_extensions/management/commands/admin_generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# -*- coding: utf-8 -*-
'''
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
The original source and latest version can be found here:
https://github.com/WoLpH/django-admin-generator/
'''

import optparse
import re
Expand Down

0 comments on commit 53ff12e

Please sign in to comment.