Category: django


  • Invitation to the Dance (film) (Photo credit: Wikipedia) Django logo (Photo credit: Wikipedia) In this post, I will explain you how to use the great Playing  django-invitation module, which as its name indicates permits to invite people to the beta of a web app, for example. The documentation of the django-invitation module is accessible on https://bitbucket.org/david/django-invitation/wiki/Home…

  • More accurate representation of relationship between URIs, URNs, and URLs. Revised version of File:URI Venn Diagram.svg, per Talk:Uniform Resource Identifier#Misleading Venn Diagram in a different way. (Photo credit: Wikipedia) NoReverseMatch error is nasty with python Django. It happens often when you add a new page. In this post I will explain you how to solve…

  • English: Gmail registration screenshots فارسی: عکس‌های برگه ثبت‌نام جی‌میل (Photo credit: Wikipedia) Django registration module is quite handy whenever you need some users to, well, registrate to your website… In this post, I will explain you how to install and configure it for your web app. To install django registration module: easy_install -Z django-registration The…

  • Head of celery, sold as a vegetable. Usually only the stalks are eaten. (Photo credit: Wikipedia) I am implementing a web app with Django. In my App, a user submits tasks, and receives an email when they are done.  The tasks can take a few minutes to complete, and an end-user can submit several tasks…

  • Django logo (Photo credit: Wikipedia) In Django the essential part of any project consists in defining the data structures. Then, implementing a webpage to a web application consists in nothing more than providing a “view” on these data structures. We will define such view for our web application in the file textModif/views.py from django.http import…

  • Django logo (Photo credit: Wikipedia) .Django creates automatically a web admin portal for our web app. We just have to edit the settings.py file and to uncomment “django.contrib.admin” in the INSTALLED_APPS setting. # Uncomment the next line to enable the admin: ‘django.contrib.admin’, # Uncomment the next line to enable admin documentation: ‘django.contrib.admindocs’,    We need…