14 questions from the last 7 days
-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 ...
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 ...
-1
votes
0
answers
44
views
Django + allauth email first authentication [closed]
I have a django rest api app where I want to setup a custom authentication flow. Here is how I want it to work.
Sign Up
User enters email
User gets email verification code
User enters verification ...
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 ...
0
votes
1
answer
44
views
Django Summernote: How to delete attachment files from server when removing them from admin?
When I delete a file from the Attachment model (which is provided by django-summernote), the record is removed from the database, but the actual file remains on the server.
I want to make sure that ...