I would go with your second solution.

On Oct 23, 5:17 pm, Caisys <amamd...@gmail.com> wrote:
> Hi,
> I have classes for Event, Place and Subplace. Some of the Places are
> divided into different Halls (Subplace) and some have only one. I
> would like to know how design the relations between the classes.
>
> 1) Should I put two columns in the Event one FK to Place and another
> FK to Hall?
> 2) Should I create one FK only to Hall and create a record in Hall for
> every Place even if the Place has no Halls?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to