The Python Game Book

code games. learn Python.

User Tools

Site Tools


en:glossary:d:django

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:glossary:d:django [2020/07/23 15:30]
horst
en:glossary:d:django [2020/07/24 20:53] (current)
horst [learning notes]
Line 15: Line 15:
     * https://github.com/django/djangosnippets.org     * https://github.com/django/djangosnippets.org
   * https://www.tangowithdjango.com/   * https://www.tangowithdjango.com/
 +  * https://www.academia.edu/31099254/Django_tutorial?email_work_card=view-paper
      
 +  
 +  
 +==== learning notes ====
 +=== official tutoral at djangoproject.org ===
 +  * toplevel foldername can be any name, django does not care. each [[Django-App]] has it's own named folder. A Django project can have several apps and apps can be copied to different projects (just copy the whole folder)
 +  * datetime: best in (toplevel) settings.py, set ''USE_TZ'' to False, to get the local time from python datetime. works on linux. See documentation, problems on windows?
 +  * in models.py (of polls), use ''datetime.datetime.now() instead of timezone.now() 
 +
 +
  
  
en/glossary/d/django.1595511018.txt.gz ยท Last modified: 2020/07/23 15:30 by horst