2 ms·
I am well aware that Django is a framework and yes it is quite strict about the way you set it up. That is a reasonable price to pay for the batteries included
by sireat 5y ago
I am well aware that Django is a framework and yes it is quite strict about the way you set it up.
That is a reasonable price to pay for the batteries included approach.
What I am saying that I do not grok the big picture of Django flow.
For some reason I got up to speed with Laravel much faster and I do not write much PHP.
The books that I skimmed (like recommended Two Scoops of Django) just go into various things you can do but do not show the big picture.
- traverseda 5y agoYou write views, and they render templates. There's a file called `urls.py` where you import a view and attach it to an actual url. So appconfig/urls.py depends on yourapp/views.py which renders html using a template at yourapp/templates/sometemplate.html Presuming that you want to interact with the database `yourapp/views.py` probably also depends on models from `yourapp/models.py` or some other apps database model.