class CheckIn(models.Model):
sample_id = models.AutoField(db_column='SampleID', primary_key=True)
date_arrived = models.DateField(db_column='DateArrived')
company_name = models.CharField(max_length=100, db_column='Company')
< plus any extra fields >
class Meta:
Russ,
>As for templates - they don't ever use the CamelCase name. They
>exclusively use the model names, and there's no 'raw query' equivalent
>for templates.
This is the problem that is presenting the possible bug. I have to use
{{ m.SomeField }} in my template rather than {{ m.somefield }} as
On Fri, May 14, 2010 at 5:29 AM, geraldcor wrote:
> Hello,
>
> Some background first. I am working with a legacy database that is not
> only legacy, it is legacy Microsoft access so there is some hacking
> going on. I am accessing a MySQL backend and my models are set up to
>
Hello,
Some background first. I am working with a legacy database that is not
only legacy, it is legacy Microsoft access so there is some hacking
going on. I am accessing a MySQL backend and my models are set up to
use the existing tables/field names. When I use regular old ORM
queries,
4 matches
Mail list logo