When we were teaching MelbDjango, I did start by writing views in the
root urls.py .... this avoided students having to create a bunch of
files and apps and references and imports and...
For some of the students transitioning from PHP, it was much easier to
deal with only learning one thing at a time...
However, we didn't go quite so far as that example... still using
"startproject" etc.
--
Curtis
On 02/03/16 12:03, Bobby Mozumder wrote:
Hi,
Here’s an example of minimal Django, where one can output run an full site from
a single file:
https://github.com/rnevius/minimal-django
The author made the comparison to Flask.
I believe the tutorial should start out with this, as the initial Part 0, to
introduce the audience to the framework, before introducing
apps/models/subdirectories/etc. I think a lot of people are turned off by the
heavy-handed immediate introduction of many files and directories of a Django
setup - I know I was when I first started with Django.
Anyways just putting this out there.
-bobby
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/56D63CBD.1070501%40tinbrain.net.
For more options, visit https://groups.google.com/d/optout.