j***@brickabode.com
2018-11-04 21:04:57 UTC
Greetings y'all!
I'm looking for recommendations regarding adding Channels to an existing
Django 1.11 application.
Every guide I've followed assumes that one is using Channels to build an
application from scratch, and that is OK to replace django's native calls
by Channels.
Channels' documentation suggests different ways of setting up
authentication, sessions, etc, but it is not clear to me that every feature
of Django 1.11 has its counterpart
on Channels. I am afraid I'll spend days migrating my system to Channels
only to figure out that a particular feature of Django is not supported by
Channels. In order to avoid that I've decided to ask y'all first.
Ideally, I would like to set Channels on a particular Django app, not on
the entire Django project (other apps would not be aware of Channels being
setup). Is that possible?
If this is not possible, my best guess is that I would need to add Channels
to an independent Django project, and have these two servers communicate.
This 2nd server would point to the same database as the 1st, and thus would
be able to run authentication with same credentials, among other data
related operations.
I appreciate any guidance on this matter.
I'm looking for recommendations regarding adding Channels to an existing
Django 1.11 application.
Every guide I've followed assumes that one is using Channels to build an
application from scratch, and that is OK to replace django's native calls
by Channels.
Channels' documentation suggests different ways of setting up
authentication, sessions, etc, but it is not clear to me that every feature
of Django 1.11 has its counterpart
on Channels. I am afraid I'll spend days migrating my system to Channels
only to figure out that a particular feature of Django is not supported by
Channels. In order to avoid that I've decided to ask y'all first.
Ideally, I would like to set Channels on a particular Django app, not on
the entire Django project (other apps would not be aware of Channels being
setup). Is that possible?
If this is not possible, my best guess is that I would need to add Channels
to an independent Django project, and have these two servers communicate.
This 2nd server would point to the same database as the 1st, and thus would
be able to run authentication with same credentials, among other data
related operations.
I appreciate any guidance on this matter.
--
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+***@googlegroups.com.
To post to this group, send email to django-***@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/a8c4164a-ffbb-4975-8d48-f8f058466b4d%40googlegroups.com.
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+***@googlegroups.com.
To post to this group, send email to django-***@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/a8c4164a-ffbb-4975-8d48-f8f058466b4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.