I\'ve got a model that looks like class order(models.Model): user = models.ForeignKey(some_user) number = models.PositiveIntegerField()
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing th
Django 1.2.5: I\'ve got a model with a custom manager. Data is saved correctly, but it\'s not retrieved correctly for related objects.
I want to create an expense tracking application, where each user can enter expenses and classify them into his own categories. Here is the model definition that I use:
This is an IMDB-like relationship: I have a set of videos, and for each video, there are users credited in the video. Something like --
I am new to Python and plan to learn Python/Django. I am in the middle of installing Apache and mod_wsgi right now, I have read on the website that there are two modes: embedded mode (favoring perform
In my ModelForm, I have to override some settings of the fields (e.g. choices, or required state). This requires declaring the entire field 开发者_如何学编程again as formfield.
I\'m using Pinax to create a new project.For this project I needed to create a new app \'Business\' which is much like Profiles but they wanted to keep everything seperate for Businesses.
I am building an app in django and I have decided to add historical records to keep track of changes to data in a model. I am using django-simple-history to achieve this. This package apparently saves
I have a video object, which an administrator can feature. I want to be able to sort those featured videos by the date they were made featured.