Thursday, December 10, 2009

question about changing model/table names and attributes ... (still learnin')

What is the "best practice" for editing table names or attributes
after they have been established by manage.py syncdb?

Since I am in the very early stages, I either delete the database and
create a new one with syncdb, or manually change the table names (I
generally use the SQLite manager plugin for firefox to assist with the
SQL).

Is there a better way of doing this? Destroying the database and
building a new one works now when I only have some test entries, but I
am concerned that this would be impractical once my db is fully
populated with real data. Likewise, I want to be careful when editing
tables that contain valuable data.

Can someone point me to a good write-up of this process, or good
software?

Go easy on me, I spent my education in biology and am just getting
started trying to understand silicon rather than carbon based systems.

Thanks.
Guy

--

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, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate