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 3754460
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T09:32:53+00:00 2026-05-19T09:32:53+00:00

am having problem with django custom signals not being able to see signals across

  • 0

am having problem with django custom signals not being able to see signals across application. I made a simple call in my

core/signals.py

from django.dispatch.dispatcher import Signal
# Signal-emitting code... emits whenever a file upload is received
# ----------------------------------------------------------------

upload_recieved = Signal(providing_args=['data'])


def upload_received_handler(sender, data, **kwargs):
    print 'upload received handler'

print 'connecting signal'
upload_recieved.connect(upload_received_handler)

in core/models.py

import signals

[the model]

in blog/admin.py

from models import article, category, media 
from django.contrib import admin
from libs.shared.core.tasks import Create_Audit_Record
from libs.shared.core import signals



class ArticleModelAdmin(admin.ModelAdmin):
    def save_model(self, request, obj, form, change):
        upload_recieved.send(sender=self, data='ddd')
        instance = form.save()
        return instance



admin.site.register(article, ArticleModelAdmin)
admin.site.register(category)
admin.site.register(media)

this is what I did, but am getting an error in the runtime unable to see upload_received function. any ideas?

Regards,

  • 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-19T09:32:54+00:00Added an answer on May 19, 2026 at 9:32 am

    You haven’t imported the upload_recieved name into your admin.py.

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

Sidebar

Related Questions

I’m having a problem when using django custom commands on Heroku. On my local
I'm having an odd problem while deploying a Django site using Fabric. I've configured
I'm using django with app-engine-patch and I'm having this wierd problem running manage.py dumpdata
Having problem with the middle Div not expanding to the width http://acs.graphicsmayhem.com/images/middiv.jpg Ok, how
I'm having a problem with a custom Authentication Backend I've built for an Active
I'm having a little problem here! I have discovered the following as being the
I'm trying to work out an exception problem I've been having with django: I
Here is a small problem I am having. 3 very simple models : >>>
I am having problem in django. I have created a form in my app
Having a little django problem i'm stuck with... My Model: class Mymodel(models.Model): [...] user

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.