Re: I can't load fixtures

2014-08-14 Thread eprikazc
'/myapps/fixtures' is treated as absolute path. Try removing leading slash to make it relative. Either you can write full absolute path to the directory. thanks, Eugene On Thursday, August 14, 2014 9:05:30 PM UTC+4, Daniel Grace wrote: > > I created a fixtures file called testdata.xml in a fix

FieldError in model form with "GenericRelation" field

2011-12-07 Thread eprikazc
Hi everyone, What is the correct way of working with generic.GenericRelation in forms? I suspect that I am missing something in django docs. Say I have modelForm class ArticleForm(forms.ModelForm): class Meta: model = Article fields = ["title", "body", "attachments"] where "at

Re: 'function' object has no attribute 'as_view'

2011-11-23 Thread eprikazc
You might be overriding EvenementCreateView somewhere else. To check it I would suggest you to look up all occurencies of EvenementCreateView in your files Eugene On Nov 23, 3:47 pm, youpsla wrote: > Hi, > thnaks for your answer. It's the same. it doesn't work. > > For information I use generic

Re: 'function' object has no attribute 'as_view'

2011-11-23 Thread eprikazc
You might be re-defining EvenementCreateView somewhere else as a function. To check it, I would suggest you to look up all occurences of "EvenementCreateView" in your files. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,