318
votes
23answers
48k views
Does Django Scale?
I'm building a web application with Django. The reasons I chose Django were:
I wanted to work with free/open-source tools
I like Python and feel it's a "long term" language, whereas regarding Ruby I ...
258
votes
14answers
61k views
Pros/Cons of Django vs Pylons [closed]
I'm begining a new webapp in Python. I've narrowed my choices down to Django and Pylons. What are the pros/cons of each?
180
votes
6answers
15k views
What's the best solution for OpenID with Django?
There are at least half a dozen Django apps that provide OpenID authentication for Django:
django-openid
django-openid-auth
another django-openid-auth, which seems to be dead
django-authopenid
...
173
votes
5answers
170k views
Converting string into datetime
Short and simple. I've got a huge list of date-times like this as strings:
Jun 1 2005 1:33PM
Aug 28 1999 12:00AM
I'm going to be shoving these back into proper datetime fields in a database so I ...
162
votes
31answers
66k views
django development IDE
I have done a little django development but it has all been in a text editor. I was curious what more advanced development tools others are using in their django development. I am used to using ...
142
votes
14answers
38k views
How to debug in Django, the good way?
So, I started learning to code in Python and later Django. The first times it was hard looking at tracebacks and actually figure out what I did wrong and where the syntax error was. Some time has ...
121
votes
16answers
26k views
Django - Set Up A Scheduled Job?
I've been working on a web app using Django, and I'm curious if there is a way to schedule a job to run periodically.
Basically I just want to run through the database and make some ...
110
votes
9answers
46k views
Extending the User model with custom fields in Django
What's the best way to extend the User model (bundled with Django's authentication app) with custom fields? I would also possibly like to use the email as the username (for authentication purposes).
...
105
votes
14answers
23k views
Dynamically adding a form to a Django formset with Ajax
I'd like to be able to automatically add new forms to a Django formset with an ajax function. I.e., the user clicks an "add" button and some javascript will add a new form (which is part of the ...
102
votes
9answers
32k views
Can I access constants in settings.py from templates in Django?
I have some stuff in settings.py that I'd like to be able to access from a template, but I can't figure out how to do it. I already tried
{{CONSTANT_NAME}}
but that doesn't seem to work. Is this ...
100
votes
12answers
8k views
Feedback on using Google App Engine? [closed]
Looking to do a very small, quick 'n dirty side project. I like the fact that the Google App Engine is running on Python with Django built right in - gives me an excuse to try that platform... but my ...
99
votes
8answers
69k views
Getting “Error loading MySQLdb module: No module named MySQLdb” - have tried previously posted solutions
This is a much discussed issue for OSX 10.6 users, but I haven't been able to find a solution that works. Here's my setup:
Python 2.6.1 64bit
Django 1.2.1
MySQL 5.1.47 osx10.6 64bit
I create a ...
96
votes
12answers
53k views
Using Django time/date widgets in custom form
How can I use the nifty JavaScript date and time widgets that the default admin uses with my custom view?
I have looked through the Django forms documentation, and it briefly mentions ...
96
votes
10answers
12k views
Reducing Django Memory Usage. Low hanging fruit?
My memory usage increases over time and restarting Django is not kind to users.
I am unsure how to go about profiling the memory usage but some tips on how to start measuring would be useful.
I have ...
85
votes
15answers
27k views
What's the best Django search app? [closed]
I'm building a Django project that needs search functionality, and until there's a django.contrib.search, I have to choose a search app. So, which is the best? By "best" I mean...
easy to install / ...