How do you get the model class object from a string containing model name?
This came up multiple times during SeenReport development. While recording views, saving votes and adding comment on an object, I had to get the model class using the model name. The scenario would be,
The view receives the model name and object id
Fetch [...]
Response time of a web site is a critical component of user experience. Here are some practical steps to reduce your response time.
It is recommended that you install Firebug and YSlow before you proceed. YSlow provides you with a wealth of statistics about your page (server requests, external file size, response time, images size etc.)
1- Place [...]
If you are migrating to django 1.0, youll have to update your models.py for django newforms-admin
Before
from django.db import models
class MyModel(models.Model):
"""
field definitions
"""
class Admin
[...]