I am making a product app to add machines to a product list. Every product had a list of features, like motor type, motor output. Not all have the same features. Each feature has a value, like 2W, 1.5
Django when i send the following string from an ajax submit i get the following string in unicode.How to decode this
I wanted a Django model with 2 foreign keys from the same table. It\'s an event table which has 2 columns for employees: the \'home\' and the \'away\'. But I get this error: Err开发者_如何转开发or: On
I am a newbie to django, so the question might be dumb, but please feel free to teach me the right way if you know it.
I want to make my Book model belongs to multiple Libraries, Collections, References and Editors, together. Is it possible to do it with generic relations?
I want to keep some global settings for my project in Django. I need to have access to these settings from the code. For example, I need to set a current theme for my site that I can set using admin c
In django framework,When there are changes in urls.py or model.py or views.py .We would开发者_高级运维 restart httpd.
I\'ve started a model with the default, automatically handled IDs Django provides. Now I\'ve started interfacing开发者_运维技巧 with an external system which has its own IDs for the same objects, and
In Django, I have the following models: class Pink(models.Model): ... class White(models.Model): ... pinks = mod开发者_JAVA百科els.ManyToManyField(Pink)
i have a "rare" behavior here, i this model: models.py class Area(models.Model): area = models.CharField(max_length=150,unique=True)