I publish discount offers for my city. Offer models are passed to template ( ~15 offers per page)开发者_开发百科. Every offer has lot of items(every item has FK to it\'s offer), thus i have to make hu
How to query Employee to get all the address related to the employee,Employee.Add.all()does not work..
I am learning Django and I am trying to understand the use of models.py in the project versus the application.It seems from the tutorial examples that I include a model definition in the app, but when
Is there anything wrong with running alter table on auth_user to make username be varchar(75) so it can fit an email? What does that break if anything?
One of my applications in my Django project require each request/visitor to that instance to have their own thread. This might sound confusing, so I\'ll describe what I\'m looking to accomplish in a c
Has anyone else noticed performance issues using Django\'s F() object?I am running Windows XP SP3 and developing against the Django trunk.A snippet of the models I\'m using and the query I\'m building
OK, I have the following directory structure (it\'s a django project): -> project --> app and within the app folder, there is a scraper.py file which needs to reference a class defined within mode
Given a Django model likeso: from django.db import models class MyModel(models.Model): textfield = models.TextField()
I have a model class like this: class Note(models.Model): author = models.ForeignKey(User, related_name=\'notes\')
I am building a news app for my website. I want to use a sort of tag system. Each news article can have different and 开发者_JS百科multiple tags. All tags are saved in a tag model, and i want to conne