Thanks for your reply, Carl.

How would I modify my contest app so that it knows about multiple contests? 
Database models (and queries), templates, forms, urls need to be adapted, I 
guess. Is it sufficient to add an ID to the models such that a specific 
month's data can be selected, for example?

Is there an example to check out somewhere?

Cheers
André


On Thursday, 4 February 2016 22:05:28 UTC+1, André Meyer-Vitali wrote:
>
> Dear Django Developers
>
> There's quite some confusion here about the best way to structure a Django 
> project.
>
> I'm developing a photography related web site with a news section (based 
> on the poll tutorial) and a contest app (among others). The contest app 
> should be reused every month for a new contest. How does this work? What 
> need to change? The  templates, app, database? I hope that the app does not 
> need to change, but how can the monthly instances be accessed separately? 
> So far, I couldn't find information and examples for more complicated web 
> sites. Where can I find this?
>
> Thanks for your insights!
> André
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/905373b3-a742-4da5-86aa-e017ea56a095%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to