Implementing Raw SQL in Models problem

2013-08-31 Thread Pepsodent Cola
### PART A Hello, in Python shell I run a Raw SQL and get a One-to-Many list output. $ python manage.py shell Python 2.7.3 (default, Apr 10 2013, 05:13:16) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> >>> >>> from navi_po

Models problem: put references of change in all fields

2009-10-11 Thread Xan
Hi, I have a trouble with model definition: I have several classes, for example a Car class: class Car(models.Model): numberplate = models.CharField(max_length=20) color = models.CharField(max_length=100) places = models.IntegerField() reparation = models.DateTimeField() I want

Re: models problem

2009-01-06 Thread Christian Joergensen
Vicky wrote: > Some datas in my database are missing when i view it using models.Am > using MYSql db. The datas that are in database when viewing using > querry browser where not seen when using model to access database. can > anyone help Does the ORM "calculated" SQL correspond to the SQL you ar

models problem

2009-01-06 Thread Vicky
Some datas in my database are missing when i view it using models.Am using MYSql db. The datas that are in database when viewing using querry browser where not seen when using model to access database. can anyone help --~--~-~--~~~---~--~~ You received this message