On Wed, Mar 28, 2012 at 20:03, Stephen J. Turnbull <step...@xemacs.org>wrote:
> On Thu, Mar 29, 2012 at 1:40 AM, Odhiambo Washington <odhia...@gmail.com> > wrote: > > > However, I am lost as to why the argument to this procedure was named > > "syncdb" and not "createdb", which is what it's doing. Can you explain > that > > please? Sorry, I am a noob in this. > > It's called "syncdb" because it synchronizes the actual data store > with the schema, by creating and updating tables and indexes as > necessary. Creating a database is a special case of syncing where the > database is completely empty. However, the schema in Django is > dynamic; it will automatically add tables and indexes when the Django > application is changed. > > You don't need to know about this unless you plan to dig in and > develop the Django application that provides the administration > interface. > Thank you for the explanation. I actually accept the argument now:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
<<image001.png>>
_______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9