LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2013, 02:38 PM   #1
stateless
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 166
Blog Entries: 1

Rep: Reputation: 4
django: model / DB table coupling


Hi. How tight is the coupling between a model and its database table? Specifically: If I use the MySQL client to add a column onto a table (and I don't delete or alter any other columns) will the existing model and the code based on it continue to work as normal?
 
Old 05-08-2013, 02:41 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by stateless View Post
If I use the MySQL client to add a column onto a table (and I don't delete or alter any other columns) will the existing model and the code based on it continue to work as normal?
Yes it will.
 
1 members found this post helpful.
Old 05-08-2013, 02:44 PM   #3
stateless
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 166

Original Poster
Blog Entries: 1

Rep: Reputation: 4
Three whole minutes for a response! Terrible service around here!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
django: get all unique values from model field stateless Programming 0 04-19-2013 02:44 AM
django devilboy09 Programming 1 03-13-2012 08:56 AM
Mumble, murmur, django and mumble-django. Linux.tar.gz Linux - Software 2 02-10-2009 02:47 AM
Westell 327W Verizqn model to substitute for Bellsouth model jdtiede Linux - Networking 1 03-11-2008 09:31 PM
Eee PC 701 + 8G model`Add/RemoveSW' Updating problems, many errors SURF model, not 8G digital8doug Linux - Laptop and Netbook 3 02-21-2008 06:26 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration