On 15 jan, 13:05, _Sebastian_ <[email protected]> wrote: > Hy all, > > I'm trying to replicate a existing project database as a conceptual > test. > > I started off with creating a few models and I thought about ways on > how I could link and/or organise them. As I'm just starting to learn > django and python and my basic database knowledge is restricted to MS > products I want to get some basic things right. > > I'm talking not about the technical bits on how to write modules, > fields and stuff I am thinking about how to organise tables, the > underlying principles and rules.
This is nothing specific to django (or almost, cf below). Google for "relational model" and "relational database design", and "normal form". Once you have a normalized data model, there may be a couple Django-specific stuff - mostly, Django doesn't (yet) support compound primary keys (so you'll have to use a surrogate key), and some contribs (like generic) requires an integer primarry key, so better to stick to it even if you do have a natural primary key. > I head a search and came across > http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=... > which I am reading now but I was wondering if you know a better site > to read about this sort of question? After a very quick look, it seems that the section about design might be a good start. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

