Code Monkey home page Code Monkey logo

Comments (6)

andrewgodwin avatar andrewgodwin commented on May 27, 2024

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.

nemesifier avatar nemesifier commented on May 27, 2024

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.

andrewgodwin avatar andrewgodwin commented on May 27, 2024

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.

nemesifier avatar nemesifier commented on May 27, 2024

👍

from channels.

andrewgodwin avatar andrewgodwin commented on May 27, 2024

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.

Gyan888 avatar Gyan888 commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.