Comments (6)
I was somewhat hesistant to introduce another import-time-registration-pattern, but I figured since we already have them I could take the opportunity to rewrite it for all four things (admin, signals, models, consumers) to something slightly nicer, probably like a full module tree walk.
I don't want to encourage the AppConfig.ready() method, since I want the channel names to be right next to their consumers.
from channels.
Refactoring all the 4 things could require quite some time though.
Are you thinking about refactoring all 4 together or in a gradual process?
from channels.
Together - I'm of the opinion that moving autodiscovery to one place won't be too tough, but I'm going to look at it properly later on once I have this next lot of features done.
from channels.
👍
from channels.
After some thought, I moved channel consumers to a URLs-like pattern of single, centralised list, so there is no longer a need for autoimport - it's been removed.
from channels.
I am using Channel rest API ,I am facing issue here whenever i try to make changes in table by admin pannel i am getting push notification successfully however when i try to do same by queryset I am not getting proper Responses .
from channels.
Related Issues (20)
- Running ChannelsLiveServerTestCase does not create database for browser HOT 21
- "group_add" is not a known member of "None" HOT 1
- ProtocolTypeRouter.__call__() missing 1 required positional argument: 'send' HOT 1
- Feature request: WebTransport support in Django Channels HOT 1
- Question about versions HOT 1
- initkwargs wasn't set in result consumer HOT 7
- `TEST_CONFIG` key has code using it but seems to be broken and no longer documented HOT 2
- AttributeError: 'NoneType' object has no attribute 'group_add' HOT 1
- OriginValidator could raise exception/log message for denied connections HOT 1
- Unable to collect code coverage when using `ChannelsLiveServerTestCase` HOT 14
- error in channel layer explanations HOT 2
- adding a check if group_name exists method for channel_layer HOT 1
- Small messages are getting concatenated HOT 1
- How can I change the schema in the database? HOT 1
- How to test send_json() contents when passing close=True HOT 2
- Handler declaration by decorator/annotation (in order to prevent potential method leaks) HOT 1
- django-q2 and django-channels together HOT 1
- Channel Layer's group_send() Not Working When Called From Django View HOT 3
- Add CORs middleware HOT 1
- Breakage in routing.py on django/main pre-5.1.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from channels.