Django Development Additions

I came across various Django development add-ons, notably

I definitely haven't used all of this.

I think it's hard to just appreciate the simplicity and power gained by combining good Django error pages combined with the iPythonEmbed shell.

Which of these or other tools do you use for development, which exact features are beneficial to you?

Own written commands and scripts are also welcome.

+5
source share
6 answers

I for one love django-annoying render_to method.

@render_to('template.html')
def foo(request):
    bar = Bar.objects.all() 
    return {'bar': bar}

# equivalent to
def foo(request):
    bar = Bar.objects.all() 
    return render_to_response('template.html',
                              {'bar': bar},
                              context_instance=RequestContext(request))

, django-debug.

+3

django-extensions . , , shell_plus runserver_plus.

Shell_plus : timeaver ( EDIT: - : ipython, , ). Runserver_plus ( Werkzeug) 500. AJAX - .

print_user_for_session , , .

update: Django IPython, . IPython , . django-.

+3
from IPython.Shell import IPShellEmbed
ipshell = IPShellEmbed()

ipshell() # This call anywhere in your program will start IPython.

, , . shell_plus. runserver_plus of django-command-extensions.

( , , , .)

+1

Try djangodevtools , including commands Alias, Coverage, itest, selenium, etc. Some additional teams are very cool!

+1
source

The most useful Django development add-on we use is django-evolution . This is a schema update solution that requires a lot of manual work from modifying existing models. It saved me countless hours of work.

0
source

All Articles