Reserved Words

2013-01-03 Thread Sam Raker
Is there a list of 'reserved words' for Django like there is for Python? I posted a question in here a few days ago about a mysterious recursion error I kept getting when I tried to load my data in with loaddata. Turns out, it was because I had defined a field called 'pk' with primary_key=True

dynamically chaining q objects with &/|

2013-01-01 Thread Sam Raker
. Valid courses are Appetizer, Main, and Dessert. Years should be entered . Five-year periods span either the first or second half of a decade, and should be entered -. Example valid five-year periods are 1900-1905, 1995-2000, etc. Regular expression search follows MySQL regular expression syntax

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
I've also tried changing the charset and collation options in my MySQL tables. Still no good. I'm so stumped. Can anyone help me, please? On Sunday, December 30, 2012 8:54:44 PM UTC-5, Sam Raker wrote: > > I tried changing my backend to django-mysql-pymysql ( > http://pypi.python.org/py

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
I tried changing my backend to django-mysql-pymysql (http://pypi.python.org/pypi/django-mysql-pymysql/0.1), and that didn't work either. I'm really at my wits' end. Can anyone help? On Sunday, December 30, 2012 4:21:57 PM UTC-5, Sam Raker wrote: > > I just tried both of those

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
I just tried both of those things, and the YAML data loaded fine, and validate said I had 0 errors. Any other suggestions? I'm really stumped here. On Sun, Dec 30, 2012 at 3:35 PM, donarb <don...@nwlink.com> wrote: > > > On Sunday, December 30, 2012 11:58:46 AM UTC-8, Sam Raker

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
om> wrote: > On Sunday, December 30, 2012 9:54:45 AM UTC-8, Sam Raker wrote: >> >> Thanks for your suggestions. >> >> I eliminated the underscores and got rid of the __unicode__ methods >> entirely, cleaned up my except statement, and changed the order of stuff >

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-30 Thread Sam Raker
of the files or something in simplejson, as even a dozen-line yaml file gives me the same exception when I try to load it with loaddata. Any more ideas? On Sun, Dec 30, 2012 at 12:18 PM, Amirouche <amirouche.boube...@gmail.com>wrote: > > > On Saturday, December 29, 2012 9:42:50 PM UTC+1,

Re: loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread Sam Raker
this. On Saturday, December 29, 2012 3:28:34 PM UTC-5, Ryan Blunden wrote: > > Can you provide a single example of one of the fixture objects you're > trying to import, as well as the model it corresponds to? > > On 29/12/2012, at 11:34 AM, Sam Raker <sam@gmail.com > >

loaddata deserializationerror: maximum recursion depth exceeded while calling a Python object

2012-12-29 Thread Sam Raker
Hello, I've got a very tight deadline, and I'm encountering a very frustrating problem. Every time I try to use loaddata to load my data into my database, I get the loaddata error in the subject. I've tried YAML, I've tried JSON, I've tried excerpting only a few lines of each, all to no avail.