Changes between Version 3 and Version 4 of IrcFAQ
- Timestamp:
- Feb 19, 2007, 10:35:44 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IrcFAQ
v3 v4 34 34 == If I change my model, will {{{manage.py syncdb}}} update my database table? == 35 35 36 No. Sorry. See the SchemaEvolution page for more.36 No. Sorry. You will have to do this manually. If you are not bothered about losing data, just do an sqlreset. Otherwise do this: Before changing the model, do {{{ python manage.py sqlall yourapp > old.sql }}}, then change your model and do the same {{{ sqlall yourapp > new.sql }}} compare the two files and you will see the difference that you will need to script for this. 37 37 38 38 == What should I use for development -- the built-in server, mod_python, FastCGI? == 39 39 40 It's generally best to use the built-in development server. It automatically reloads your Python source files when it detects changes. 40 It's generally best to use the built-in development server. It automatically reloads your Python source files when it detects changes. I beg to differ - the development server is fine for using before you decide on opting for django. Once you start *real* development, it is better to replicate the production environment as closely as possible. 41 41 42 42 == What's the difference between {{{null=True}}} and {{{blank=True}}} in models? ==