Skip to main content

Create dynamic models from Django administration

Project description

Create dynamic models from Django administration (with migration support).

Quick start

  1. Install django-dynamic-admin package in your Django project:

    pip install django-dynamic-admin
    
  2. Add “django-dynamic-admin” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'polymorphic'
        'dynamicadmin',
    ]
    
  3. Run python manage.py migrate to create the base models.

  4. See https://github.com/seht/dynamicadmin-example-project for example usage.

  5. Visit http://127.0.0.1:8000/admin/ to create dynamic models from Django administration.

Adding new Field types

Create new field types by extending dynamicadmin.models.Field

Adding new Content types

Create new content types by extending dynamicadmin.models.Bundle

TODO

  • Field weights

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-dynamic-admin, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size django_dynamic_admin-0.3.0-py3-none-any.whl (17.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-dynamic-admin-0.3.0.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page