Re: No fixtures found

2010-07-25 Thread n3ph
Am 25.07.2010 21:36, schrieb Daniel Roseman: On Jul 25, 8:11 pm, john wrote: I got the message 'No fixtures found' when I ran the python manage.py syncdb command. I am working in sqlite3 which seems to be working as evidenced by the fact that if I type sqlite in a terminal I get the sqlite>.

Re: formatting values list

2010-07-21 Thread n3ph
Definitely the better way.. On 07/21/10 23:42, Franklin Einspruch wrote: > Nick, > > I think you're looking for this: > > http://docs.djangoproject.com/en/dev/howto/outputting-csv/ > > Franklin > > > On Wed, Jul 21, 2010 at 5:38 PM, Nick wrote: >> I would like to format the output of a values_li

Re: formatting values list

2010-07-21 Thread n3ph
maybe this way: from django.shortcuts import get_list_or_404 from MY_APP.models * def values_view(request) list = get_list_or_404(MyModel) template = loader.get_template('mytemp.html') c = Context({'list': list}) html = t.render(c) HttpResponse(html) Template: {% for item

Re: Plese guide to solve this

2010-07-21 Thread n3ph
Another one who's confused about all the deep API-Changes in Django :-( But reading the doc's is very helpful to preventing you from thees traps... Am 21.07.2010 17:04, schrieb euan.godd...@googlemail.com: The traceback tells you exactly what the problem is. The correct kwarg is max_length