Django Changes in env lib site-packages don't apply

173 Views Asked by At

I meet a problem with a package : django-ckeditor. I have installed it with pip in my venv. And now I want to add just 1 or 2 modifications in the views file of ckeditor.

The problem is : anything I write in this file:

env\Lib\site-packages\ckeditor_uploader\views.py

is not applying when I restart server.

Look

class ImageUploadView(generic.View):
    http_method_names = ["post"]

    def post(self, request, **kwargs):
        print("hello")

I never get anything when I do this post request. Actually whatever I write (I removed all the lines and add 'azerrty' in my code) the server will run correctly... Does someone know why changes in my venv are not considered ? And how to solve this ?

I tried to deactivate the venv and activate it again it didn't change anything

0

There are 0 best solutions below