I'm not sure you can inherit the whole project, in any case I believe you
could make a boilerplate project and override whatever settings or models
as needed.


On Thu, Feb 14, 2013 at 11:25 AM, Jonathan ATTON
<[email protected]>wrote:

> Hello,
>
> I currently have a website made with Django. I use models, databases,
> admin ...
>
> Now I need to create two new sites based on this first site. The first
> site will become a abstract site.
>
> I will have to do some differents update on these two new sites: add
> attributs, update admin pages, ...
>
>
> Can you help me to find the best way to do this ?
>
> My first idea was to use inheritance but some poblems appears. The main
> problem is that in my abastract site I have reference to the abstract class
> and not to the new class.
>
> In C# the keyword 'new' allow to do something closed to what I need: add
> attributs, methods ... to an existing class.
>
> Thank you.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to