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 i
and restaurants is
case-insensitive.
Searching by course uses case-insensitive exact matching. 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-ye
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.pyt
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
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 wrote:
>
>
> On Sunday, December 30, 2012 11:58:46 AM UTC-8, Sam Raker wrote:
>&g
arb 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
>
s related to the length
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 wrote:
>
>
> On Saturday, December 29, 2012 9:42:50 PM UTC+1, Sam
really appreciate any help on 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 Rak
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. I
9 matches
Mail list logo