R
R
rmfalx2017-07-14 14:50:43
Django
rmfalx, 2017-07-14 14:50:43

How to automate the process of creating materials?

In Django, to create a new material you need to
- Create an html file and fill it with text, image tags and other information. Embed this file in the base.html template.
- Create a representation of this material in the views.py file
- Create a url in the urls.py file
- Make a hyperlink to our material in the main template or in some separate file.
This is all pretty long. Tell me, is it possible to quickly create materials from the admin panel, as well as assign CNC addresses to these materials?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question