2013年03月13 - Each Django app makes its own database tables Is it possible to share these database tables amongst various Django apps?
每个Django应用程序都有自己的数据库表,是否可能在不同
2015年07月15 - Since I am a beginner in Django and Python world and I am currently trying to make a real project in it Django but being a java programmer by heart an
2011年03月13 - I currently have this:
我现在:
class youtube_video(models.Model):
video_url = models.CharField(max_length=150,blank=True, validators=[RegexValidator(
2010年09月19 - I use South for schema and data migraton for my Django site. I'm happy about using it. One day I converted models.py file to models/__init__py and put
2010年08月03 - I'm my Django application I'm fetching all the objects for a particular model like so:
我是Django应用程序,我正在获取特定模型的所有对象,比如:
secs = Sections.objects.filter
2013年06月12 - I have a formset that relates to a model that uses multi-table model inheritance. I'm getting the following error when the form is submitted:
我有一个与使用多
2009年05月14 - I have a model with a created_by field that is linked to the standard Django User model. I need to automatically populate this with the ID of the curr
2011年02月09 - Assuming I have different profiles for different user types - staff, teacher,students:
假设我对不同的用户类型有不同的配置——员工、老师、学生:
How do I specify AUTH_PROFILE_MOD
2010年02月19 - In chapter 8 of the Django book there is an example showing a fundamental view wrap method, which receives another view method passed in from any sing