PacktPublishing / Django-3-by-Example

Django 3 by Example (3rd Edition) published by Packt
https://djangobyexample.com/
MIT License
717 stars 687 forks source link

Chapter 6 - signals not working #96

Open denebtech opened 3 years ago

denebtech commented 3 years ago

In section "Application configuration classes" , added follow fragment:

def ready(self):
    import images.signals

If going to the browser and click on the LIKE bottom not working (not create any action). But, to remove this fragment, perfectly working. Where is the problem? In the console and shell appear nothing, all clear.

python version: 3.8 django version: 3.1.*

arunspacek commented 2 years ago

Maybe you're clicking the like button of a different image and looking to see if it made a change in a different image. For example, the author told us to look at the admin edit page of the first image after clicking the like button. My guess is you clicked the like button of a different image.