Well of course you can just have two set of settings (derive common stuff).

So you don't need fully separated projects. If you don't want to.

3.8.2017 11.27 "Robert Stepanek" <robert.stepa...@gmail.com> kirjoitti:

> Hi,
>
> On Wednesday, August 2, 2017 at 8:31:14 PM UTC+2, Jani Tiainen wrote:
>>
>> Hi,
>>
>> What is the problem that your’e trying to resolve with middlewares and
>> why you think that you can’t use defaults as is?
>>
>>
> For example: the default middleware stack includes session management,
> CSRF protection and the message middleware. None of this is relevant for my
> API, but I definitely want to use it for the web site app. Plus: I want
> separate authentication mechanisms for the two apps.
>
> Meanwhile, I came to the conclusion that using two separate Django
> projects fits my requirements best. There are other reasons for this, but
> it has the side benefit that I don't have to figure out how separate the
> middleware layer.
>
> Cheers,
> Robert
>
> --
> 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/6f3edcea-5c48-4308-83bf-eade199046bf%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/6f3edcea-5c48-4308-83bf-eade199046bf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHn91oeWxVdS4%2BuSY%2B5vnJayfT_nzJVihC2XqOOSBXUTXvhK9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to