A useful tool for viewing Django models, their relationships and functions.
Project description
django-model-viewer
An application that facilitates identification and operation on models.
It searches for all available models in the project and allows you to select and view details about them by holding the mouse on the parameter of interest.
After selecting the path between models through relations, after clicking CREATE we will get a path that allows you to get to the last model.
It is also possible to select a model and click on its name and it will take you to Visual Studio Code to the file and line of the given model.
Installation
pip install django-model-viewer
Open your project settings and add:
INSTALLED_APPS = [
***
'django_model_viewer',
***
]
Add path to main urls file
urlpatterns = [
path('models-view/', include('django_model_viewer.urls')),
***
]
Run server and use at '/models-view' url
Authors
- self
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-model-viewer-1.1.3.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 57ff2370f49e60b5aaaae91bc6f645b9cfeb19ae9eb3e8d622cc354f50e06ec7 |
|
| MD5 | 9ae4d9b6a675e15ddc1ca625b0d2354e |
|
| BLAKE2b-256 | cc089e42e7ddadd8de129e305b17510ddee62097397b2514fad040aa2fcc2d5d |
Hashes for django_model_viewer-1.1.3-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 099b68682889e69fa0044088af31d11813be1940dfd7701e27ac46dc621cc63a |
|
| MD5 | bf210410417fa4883b8f246c639231de |
|
| BLAKE2b-256 | 2d6d42485435e70c08487aed4325d97a6ef46d5143a81dd909df1e8c554fa994 |