Re: Django .91 issue

2007-07-24 Thread [EMAIL PROTECTED]
Awwh, Yes! Brainfart! Thank you so much. I'm glad new django doesn't use this method anymore. Thanks again. On Jul 24, 2:22 pm, oggie rob <[EMAIL PROTECTED]> wrote: > With 0.91, you use the "magic" name for db-api operations, rather than > the model name. For example: > > from django.models im

Re: Django .91 issue

2007-07-24 Thread oggie rob
With 0.91, you use the "magic" name for db-api operations, rather than the model name. For example: from django.models import my_model_module my_model_module.somemodels.get_object(...) I think sometime before 0.91 was finished, the directory structure changed, so you might access your models sli

Django .91 issue

2007-07-24 Thread [EMAIL PROTECTED]
Hi I have a csv file that I am reading in and I want to test to make sure that there are no duplicate records so I do something like this: # My Checker from csv import reader import datetime import re import time from time import strptime from django.models.somemodel import SomeModel from some_s