Is there a tool for Django project structure/information flow visualization? -


i able view structure of django project, i.e. urls point views, views point templates, css files included in templates etc.

i know great model visualization tool in django command extensions, need different tool able visualize links between:

  1. urls , views;
  2. views , templates;
  3. templates , other templates (via {% extends %}, {% include %} , custom template tags);
  4. templates , static files (css, js, images).

are there any?

it impossible create tools looking work in practice. django not force structure. tool can made work strict structure. django allows take full advantage of dynamic nature of python. difficult create tools understand dynamics of project.

few examples:

  • views can methods generated factory-methods.

  • a view can render different templates in different situations.

  • urls can generated dynamically

  • custom url reslover can used

  • variable can used in {% extend %} tag. lets 1 base template authenticated user , other anonymous.

tools gives lot of visual information project common java world not python.

one great advantage of python allows write readable code fast. written , structured code explains self quite without additional tools.

to ease process of template/view finding should have structure of code , maybe invent project-level naming conventions views/templates/urls.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -