Skip to main content

Home/ Groups/ Django Ressources
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

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

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

twill: a simple scripting language for Web browsing - 0 views

  •  
    "twill: a simple scripting language for Web browsing"
‹ Previous 21 - 40 of 50 Next ›
Showing 20 items per page