Changes between Version 3 and Version 4 of IrcFAQ


Ignore:
Timestamp:
Feb 19, 2007, 10:35:44 PM (18 years ago)
Author:
Kenneth Gonsalves <lawgon@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IrcFAQ

    v3 v4  
    3434== If I change my model, will {{{manage.py syncdb}}} update my database table? ==
    3535
    36 No. Sorry. See the SchemaEvolution page for more.
     36No. 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.
    3737
    3838== What should I use for development -- the built-in server, mod_python, FastCGI? ==
    3939
    40 It's generally best to use the built-in development server. It automatically reloads your Python source files when it detects changes.
     40It'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.
    4141
    4242== What's the difference between {{{null=True}}} and {{{blank=True}}} in models? ==
Back to Top