Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 546207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:50:33+00:00 2026-05-13T10:50:33+00:00

I have a tough time understanding how signals work into my application (and how

  • 0

I have a tough time understanding how signals work into my application (and how they work period). These are three areas where I assume they would apply (with my current knowledge):

  1. Send XML to a remote server for reporting (after a transaction is complete).
  2. Re size an image and upload the thumbnail to S3 after a user uploads it.
  3. Delete old images from S3 after a user deletes an image object from his account.

Am I totally off base (I feel I might be). Am I getting signals and multi threading mixed up? If so, do they compare in there application? Are they only for decoupling? Also, what’s the deal with making sure you instantiate them early and don’t use a local function (because they’ll get garbage collected)? Can someone elaborate on that? Should I put them all in request Middleware so that I don’t have to worry?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:50:33+00:00Added an answer on May 13, 2026 at 10:50 am

    Django Signals are a way to perform an action A in response to an event E.

    In a unreal world you can avoid using signals by modifying the code where the event E occurs and appending the code to perform the action A.

    The problem is that doing so you loose maintainability, readability and a lot of other software engineering adjectives 🙂

    Signals allow you to do the same thing indipendently from where or how the event E occurs and so doing so in a clever way that allow maintanability, readability, etc…

    Yes, I think that saying that Signals are useful to enable decoupling is really true.

    (You also mentioned multi threading. If you did so because you think signals are good because they are executed concurrently and so quickly… Well… I don’t know if they are concurrently executed but anyway I really don’t think this is the point for what django signals are useful for)

    An example of a good way of taking advantage of Signals is about the fact that when you want to store other information to an user in django you have to use Userprofiles.
    In this case, the documentation itself, tell you that it may be convenient to register a signal in response to any creation of new users just to add to the new created users an empty user profile.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have had a tough time translating some Delphi code into c++. the code
I have been doing some reading, and I'm having a tough time understanding how
I have tough time making this design decision. I could go with traditional new
I have a really tough situation in here. There is an array of these
I have an application that I would like to have support SQL Server Mirroring.
Let me say ahead of time, that I have very little understanding of the
I'm coding a small CMS to get a better understanding of how they work
Sounds simple but I seem to have a tough time in dropping a primary
Have spend quite some time to learn Sencha touch, just like an evaluation about
I have now been stuck at this for some time so I though to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.