Tags » Django 2
... urlpatterns = patterns('', url(r'^login/$', views.login, name='login'), ... )
from django.contrib.auth import (login as auth_login, authenticate) from django.shortcuts import render from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse ... 411 more words
I finally got the time to write a Django tutorial. In this tutorial we are building URL Shortener. If you are confused with what we are building then we are building something similar to ( 2,589 more words
These are the steps I followed to upgrade an existing Wagtail 0.8.3 which was using Django 1.6 to use 1.7. It wasn’t that obvious to me so I’ve detailed the steps here. 299 more words
Forms in Django are awesome; they come with a lot of magic inside. But they lack customization for styling them in different ways.
For example, if you wish to add Bootstrap styling to the forms then it is difficult unless you use any 3ed party packsges for that. 211 more words