Disable the admin of "Site"

2024-01-03 Thread 'Thomas Lionel Smets' via Django users
The admin console always displays the admin of "Site" page while this should be hidden for the people on a specific site (they should not be aware of the fact that there are multiple sites) ! When I add the admin.py the following line ``` admin.site.unregister(Site) ``` The (debug) server cra

makemigrations app shows no installed app available

2024-01-03 Thread sonam yadav
hi everyone, I am tring to do makemigration Myapp, after creating a project 'Sonam' and app 'Myapp' but output shows No installed app with label 'Myapp' Here is the Directories Structure (.venv) PS C:\Users\dell\p3\Sonam> py manage.py makemigrations Myapp No installed app with label 'Myapp'. (.

Static assets receives 403 on digital ocean.

2024-01-03 Thread ASAMOAH EMMANUEL
Hi, please help. I have been trying to deploy my App to digital ocean but after deploying, my static assets do not show. I have set file and directory permissions but still in vain. this is what outputs when inspecting the browser console. help would be highly appreciated: Error logo.png:1 Request