14 questions from the last 7 days
-1
votes
0
answers
33
views
Restarting backend container became unreachable for traefik(504 Gateway timeout)
I’m having a problem and I can’t find a solution.
I have deployed a Django backend and a React frontend using Docker.
I’m using Traefik as a reverse proxy for the web server. When I start Traefik, the ...
Advice
0
votes
1
replies
41
views
Django: Separate session expiry times for "normal" website and admin area
It would be nice if there were an easy way to define separate session expiry time for the admin area of a django website. So, admin users could log themselves into the "normal" website (seen ...
-3
votes
0
answers
37
views
Django Strategies for processing large datasets from an external API without a local replica table [closed]
I am building an SMS gateway system in Django that acts as an interface between university data sources (e.g., student information systems) and an SMS provider.
The Architecture: To ensure data ...
2
votes
1
answer
43
views
Displaying related items in an inline formset in Django
I have an inline formset in Django. I have a table called SubItem which is related to Item. Many SubItems to one Item. Some Items don't have any SubItems.
Sections of code are obviously missing from ...
0
votes
0
answers
85
views
Django channels tutorial issue
As I am following the Django channels tutorial (here is the link:
https://channels.readthedocs.io/en/latest/tutorial/part_2.html
), I won't post any code except the specific problem I am having.
In my ...
-3
votes
2
answers
86
views
Python Django Rest Framework [closed]
What is the difference between decorator @api_view and @csrf_exempt in project level django rest framework? I need the difference and which is better to develop the project.
1
vote
1
answer
59
views
TailwindCSS utilities/classes always override static CSS styles [closed]
I try to use TailwindCSS and CSS (as static), but TailwindCSS utilities override the static CSS styles. I tried moving TailwindCSS invocation tags after, before static CSS invocation, but it didn't ...