ImageField and Generic Views

2006-04-08 Thread Viktor
Probably I'm doing something wrong... But I can't figure out what to put in my model_form.html template, so the create_object and update_object generic views work well. For now, I figured out that I have to put {{ form.field }} and {{ form.field_file }} but it works just for createing, this do

Re: How do I handel multiple foriegn keys in single model

2006-04-08 Thread Mir Nazim
this seems good. can i get a code example. :)) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group,

To app or not to app?

2006-04-08 Thread Ned Batchelder
We're about to embark on adding a major chunk of new functionality to my Django app. My question is, how do I decide whether to make it a new Django app, or whether to simply add the models and views needed into my existing app? What are the rules of thumb that you've used in the past to deci

Re: To app or not to app?

2006-04-08 Thread lawgon
> > What are the rules of thumb that you've used in the past to decide > whether something is a new app or not? my rule of thumb, for whatever it is worth, is this - if i make it a new app, will a change in the models of the new app imply that i have to make changes in the models in the old app?

Re: To app or not to app?

2006-04-08 Thread Max Battcher
Ned Batchelder wrote: > We're about to embark on adding a major chunk of new functionality to my > Django app. My question is, how do I decide whether to make it a new > Django app, or whether to simply add the models and views needed into my > existing app? > > What are the rules of thumb th

Error in saferef.py?

2006-04-08 Thread DavidA
I just switched to the m-r branch and am seeing this error very frequently: Exception exceptions.AttributeError: "'NoneType' object has no attribute 'print_exc'" in ignored >From a search of the code, it appears to be line 113 in django/dispatch/saferef.py. However, I'm unsure if its an error i

Re: Error in saferef.py?

2006-04-08 Thread Malcolm Tredinnick
On Sun, 2006-04-09 at 03:25 +, DavidA wrote: > I just switched to the m-r branch and am seeing this error very > frequently: > > Exception exceptions.AttributeError: "'NoneType' object has no > attribute 'print_exc'" in ignored > > >From a search of the code, it appears to be line 113 in >

few topics to refer back

2006-04-08 Thread Rohit
some nice topics to refer. Compilers and Languages Books http://online-books-reference.blogspot.com/2005/11/free-online-compilers-and-languages.html Books and articles on Compilers and Programming Languages lex yacc review Database Books http://online-books-reference.blogspot.com/2005/11/free-on

Meet error in "Writing your first Django app, part 1"

2006-04-08 Thread gaghiel
Writing your first Django app, part 1 http://www.djangoproject.com/documentation/tutorial1/ Hi, after I run this command: python manage.py install polls I got: Error: polls couldn't be installed. Possible reasons: * The database isn't running or isn't configured correctly. * At least one of

Re: Meet error in "Writing your first Django app, part 1"

2006-04-08 Thread lawgon
> The full error: no such table: packages your have not initialised the database: python manage.py init myapp --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Meet error in "Writing your first Django app, part 1"

2006-04-08 Thread Holio
Thanks for your reply. I did the `python manage.py init' as the doc said before, and `python manage.py init polls' as you said, still don't work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.