Skip to main content

Home/ Groups/ Django Ressources
1More

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.
1More

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.
1More

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.
1More

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.
1More

Debugging Django - 0 views

  •  
    Debugging Django
1More

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.
1More

Overview - Sphinx v0.6.4 documentation - 0 views

  •  
    Sphinx is a tool that makes it easy to create intelligent and beautiful documentation, written by Georg Brandl and licensed under the BSD license. It was originally created to translate the new Python documentation, and it has excellent support for the documentation of Python projects, but other documents can be written with it too. Of course, this site is also created from reStructuredText sources using Sphinx!
1More

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

  •  
    "twill: a simple scripting language for Web browsing"
1More

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.
1More

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

  •  
    from django.core.management import setup_environ import settings setup_environ(settings)
1More

The Perfect Django Settings File « DAMON BLOGONS - 1 views

  •  
    Here's an example of a settings file I've created for a recent project. I'll explain all of the bells and whistles below.
1More

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.
1More

The Python getattr Function - 0 views

  •  
    try: func = getattr(obj, "method") except AttributeError: ... deal with missing method ... else: result = func(args)
1 - 20 Next › Last »
Showing 20 items per page