Skip to main content

Home/ Django Ressources/ Group items tagged django

Rss Feed Group items tagged

PhilGo20

Doing things with Django models - aka - Django models tutorial - The Usware Blog - Djan... - 1 views

  •  
    Django abstracts most of the actions you would be doing with the Database. What it doesn't abstracts, and doesn't try to abstract is the Database modelling part. This is a quick tutorial describing to how model your data in Django models.py, and how to access and modify them.
PhilGo20

Multi-language support in a Django project « Development Doodles - 0 views

  •  
    The Django documentation on internationalization describes how to add multi-language support to your application. As it took me a few tries to get it right, here's a rundown of what I did to add it to an existing project.
PhilGo20

Django and Crontab: Best Friends · SuperJared.com - 0 views

  •  
    from django.core.management import setup_environ import settings setup_environ(settings)
PhilGo20

Testing Django apps - 0 views

  •  
    Nice entry on testing, its not always the most straightforward process in Django (I've wasted at least a couple afternoons trying to juryrig something to create new model for the duration of tests...), and is really helpful.
PhilGo20

Some Notes and Requests on Django Signals « ThingsILearned - 0 views

  •  
    I've finally gotten around to playing with the Django Signals.  I've been pleased so far but I feel its currently missing a few key features.
PhilGo20

Automatical superuser creation with Django - Arthur Koziel - 0 views

  •  
    I delete and sync my database fairly often during development with Django because the "syncdb" command will not alter the table in the database after, for example, adding a new field to the corresponding model. The problem I have with this is typing in the same data for a superuser over and over again. It's a very repetitive task, so I was grateful when I heard this tip from my co-worker Sebastian today.
PhilGo20

Debugging Django - 0 views

  •  
    Debugging Django
PhilGo20

Django snippets: Smart {% if %} template tag - 0 views

  •  
    Save this as smart_if.py in the templatetags folder of one of your apps. Then a simple {% load smart_if %} replaces the boring built-in Django {% if %} template with the new smart one.
PhilGo20

NewbieMistakes - Django - Trac - 0 views

  •  
    Please feel free to share the things that tripped you up when you started with Django. We'll try to improve Django's error handling to catch such mistakes in the future.
1 - 20 of 44 Next › Last »
Showing 20 items per page