Posts Tagged ‘django’

How to Install OSQA in Ubuntu Server

OSQA is questions and answers application built in Django. It’s open source StackOverflow clone.

While it has documentation about installing on Linux server, but here I just want to share my step to step instructions on installing OSQA in Ubuntu server.

Continue reading »

How to Reset Django Admin Password

django

There is a time when I forgot my password for Django admin. You can create new one using createsuperuser, but if you want to reset your available account you can use django shell :

python manage.py shell

Now, get your account and set new password.

from django.contrib.auth.models import User
 
user = User.objects.get(username='admin')
user.set_password('new_password')
user.save()

That’s it, your new password will get you in.

You can see the other django tips and tricks.

Django and TinyMCE

For content management, most likely you need to add WYSIWYG editor. While there are several free WYSIWYG editors, for this article I choose to use TinyMCE. Alternatively you can use django-tinymce.
Continue reading »

Getting Started With Django-CMS

Django CMS is content management system built in Django. You can extend the CMS via plugins, and there are already some plugins/extensions you can use or you can write custom plugin/extension for your specific need.

I’ll walk you through from installing to writing your first page. So, let’s go.

Continue reading »

A Quick Tutorial on Django MPTT

Problem

You create a project using Django framework and you need to store hierarchical data in database, for example Category model. Just say you need a category model that can contains another category. See the solution

Django Deployment Tutorials

The current recommendation for Django deployment is Apache + mod_wsgi. But for those who need more performance, then you can take adventure to use another server.

With different server the deployment and configuration may not be easy, so to speed up your deployment you can take a look on several Django deployment tutorials. So here some of your options :
Continue reading »

Receiving Email Using AppEngine and Django

appengineWhile Python AppEngine documentation give a good example on receiving email on AppEngine, but for me it take time to figure out how to do that in Django.

For those who haven’t yet figure out how to do that, let me save your time.
Continue reading »

Sending Email Using Gmail Account in Django

djangoSending email in Django is easy, just add a few lines in your settings.py and you have everything ready to send an email. But if you’re using Gmail as your SMTP server you need add a few more lines to your settings.py. You need to specify what port Gmail server using and set to use TLS.
Continue reading »

Django 101

djangoDjango has excellent documentation, and it’s great place to get started if you want to learn about Django framework. The second place maybe this great Django book.

I also found lot of django tutorials on other sites, but some of them are very old and they probably  don’t work with current Django stable version (1.1.1 ). So I decided to collect recent tutorials about Django.

I’ve compiled list of  Django tutorials and articles to help myself with Django framework, and I  hope the list will help you too.

Continue reading »

10 Django Apps I Can’t Live Without

djangoI love Django pluggable applications. Basically you just need to install the application, and you’re done. How many hours do you spend to create registration system for your new project? Well, in Django you just need to use django-registration, set up the urls and everything is up and running. In this way you can save time and focus to your business logic.

Continue reading »

[Link] Django Advent

Django Advent is a website dedicated for welcoming new release of Django. You’ll see some interesting articles about upcoming releases of the Django web framework.

Django Tutorial – Simple Notes Application

Django is a great web framework, so easy to fall in love.

Before starting this tutorial, you need to install Django framework.
Continue reading »

Links – Top 10 tips to a new django developer

New beginner gotcha, help yourself by reading this.
Top 10 tips to a new django developer