Mohammad Hossein
Alireza
Hello, my friends, to a strange problem of mine
I have a signal that said if anything is saved in the model, send its ID to the task
In the task, you will take that model and I will get it and print it
The first time I save something, it prints correctly, but the second time it says that there is no such data in the database!
Armin
Habib
Render is good
Mohammad Hossein
Mirco
Vinay
Hello
I am facing an issue to save data to the database
I have stored data in a variable analyzed_data and when I try to save this data to the table
By
analyzed_apk = models.AnalyzedAPK(**analyzed_data)
try:
analyzed_apk.save()
except Exception as e:
print("Error saving analysed APK data")
Can anyone please help what is happening
Vinay
️امیر
Sam
I want best course for django
Sam
Please
Doragonsureiyā
I want best course for django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Yazdan
Hello bros
Can anyone introduce a good course for starring django??
Sky
cj
Yazdan
iyad
How long you toke to learn Django like master?
The Inspired
Sopan
Charly
One Piece Is Real
I am trying to build a Django website with admin and other 2 types of users I know to use django built-in auth for one type of user but how to handle the second type?
Lucky
If you want to create a user with same access then try same type how you create super user you also change permission later
levi
Using view classes vs functions?
Depends on preference or it actually affects performance somehow?
Mukesh
any Django course here ? please let me know, if someone does. Thank you in advance.
Charly
Mahi
What type of questions asked interviewer about django
Mahi
I wanna learn django suggest some youtube channels
ishaan
anyone worked with django ckeditors?
ishaan
Actually I want to add file uploading feature in this and want to upload large sized docs
ishaan
unable to add it
Disami
always confusing where to define a method that make change to the attribute of model ... where should is in serializer class or model class why
Charly
Charly
Disami
Poojitha
I was trying to generate otp through email but the access was denied to generate otp...ever I didn't get an email can anyone help me out this???
Charly
Poojitha
Doragonsureiyā
Ok I'll show you
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://hastebin.com
- https://bin.kv2.dev
Poojitha
ok my bad!
Poojitha
views.py code https://dpaste.org/T0MHO and my emails.py code: https://dpaste.org/zTpTV
kim
I'm working on an authentication system with django all is working but when user tries to create an account I get this error
[07/Aug/2024 20:40:26] "GET /register/post?csrfmiddlewaretoken=ZvpJADks83DmRbxlVTefUgrW8DUuto6atXiRlDecIzMCrQduSwNd0hsBGMBL4Gey HTTP/1.1" 404 4050
Mamuli
clouded
I
kim
Habib
Habib
kim
in the form you are probably missing method="post'
{% extends "base.html" %}
{% block title %}Create Your Account {% endblock %}
{% block content %}
<h1>Create your account</h1>
<p>Please sign up here</p>
<form action="POST">
{{user_form.as_p}}
{% csrf_token %}
<p><input type="submit" value="Create My Account"></p>
</form>
{% endblock %}
Here is the form
Habib
in the form not action=post
Habib
Another attribute method="post'
Habib
Also for The action give path to the url your Posting it
ruthless
Habib
{% extends "base.html" %}
{% block title %}Create Your Account {% endblock %}
{% block content %}
  <h1>Create your account</h1>
  <p>Please sign up here</p>
  <form action="" method="post">
   {% csrf_token %}
    {{user_form.as_p}
    <p><input type="submit" value="Create My Account"></p>
  </form>
{% endblock %}
Here is the form
kim
kim
Habib
Good
Saturn
whats is the best lib to implement crypto payments on my django project that comes with sandbox testing
Devendra
how can write custom login singnup in django guide plz
kim
cannot access local variable 'new_user' where it is not associated with a value
Any help?
Mirco
kim
Mirco
Denys
Hiello, I wanted to create a drf project via digitalocean. I get an error:
Error while running '$ python manage.py collectstatic --noinput'.
See traceback above for details.
You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
ERROR: failed to build: exit status 1
When I set DISABLE_COLLECTSTATIC = 1 it works fine, but static is not loaded for /admin.
Devendra
how can write custom login singnup in django guide plz
Durdy
I deployed project to ubuntu server and give me error
Durdy
OperationalError at /account/register/
attempt to write a readonly database
CHANDRU S
I've been working with Django REST Framework and using pytest for testing. To visualize my test cases, I've been generating Allure reports. Is this a common approach, or are there other tools or practices with pytest and Allure that are more commonly recommended or widely used for Django projects?
Nima
ProxyConnectionError at /home/upload_img
Failed to connect to proxy URL: "http://127.0.0.1:2334"
Nima
Charly
Nima
maneliiii
Yes activated environment
dumb question but did you install django and then this command django-admin startproject project_name .
Creator🇺🇦
What are the best libs, frameworks, language to write a front end on Django?