Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
I\'m just starting... I\'m trying to use Django models but I\'m getting the: AttributeError: \'module\' object has no attribute \'StringProperty\'
In django, I want to copy data from identical tables in one db to those in another -- from \'db01\' to \'default\'. Schema are identical.
I\'d like to perform some manipulation (simple math) to the posted data and save it to the db, via custom save method... I\'ve used the inlineformset_factory (parent child table..., foreign key...)
So, I have a Person model and then I have a model name Carusage. The relevant part of Carusage is this:
I have a php app that I am considering rewriting in either Django or Rails (have done some maitence work over the years but not that familiar with issues like this). Ideally, I\'d like to db schema as
How to get model filter on date ranges. In my project using employee doj, i need to deign a table. like employee who have joined less than three months , 3-6mon开发者_运维技巧th, 6-12 months, 12-24 mo
I\'m currently developing my own weblog in Django. But I\'ve already stucked right in the beginning. So, here is my tree hierarchy:
I 开发者_C百科need to create a model Class with three columns: network, graduation, and position(s).
This is my model class Business(models.Model): business_type = models.ManyToManyField(BusinessType) establishment_type = models.ForeignKey(EstablishmentType)