inchidi
Get PyCharm, Support Django.
Anonymous
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'users.urls'
what is error?
Anonymous
can i change my date format to yyyy-mm-dd now its default to mm-dd-yyy
manav
Anonymous
Anonymous
yeah
Anonymous
yeah
it works for template {{ Your_value|date:"Y - M - d" }}
Samoiddin
Hi there I wanna do create nested loop in Django rest . Nested loop shows created in the django admin . But I can't create nested loop in API
Hasankazemi
hi , i am iranian ,
How to fix this error?Created when adding a column to a user table
expected string or bytes-like object
Mirco
Patience
Patience
Anyway I need help too, is anyone who have free project which has working selery library?
Ayobami
Mirco
Patience
Patience
Anyway I am new on it.
Patience
It is celery, I was wrong.
Mirco
Enigma
Patience
What it doesn't work ?
I want to run periodic task every hour, it doesn't run as I expected.
Sometimes it give me errors, let me give you.
Patience
.... I will share you codes if continue to give me it.
Dev
Alina
Hey! Somebody know how to fix it?
Alina
gunicorn.socket: Failed with result 'service-start-limit-hit'
Enigma
Enigma
?
Alina
i guess i have. i am new in web
Alina
where it should be in project?
Prince
Alina
url you mean?
Alina
gunicorn.socket - gunicorn socket
Loaded: loaded (/etc/systemd/system/gunicorn.socket; enabled; vendor preset: enabled)
Active: failed (Result: service-start-limit-hit) since Thu 2021-04-01 11:43:02 UTC; 49s ago
Patience
Is any group for Django jobs updates?
manav
Rushabh
How to write group by and distinct in Django admin queries?
Ram
Hello guys
Anki|Important texts only
Ram
I have Kali Linux, is it possible to install postgres 9.6
I have installed that but I'm not able to open that in shell
Ram
Mirco
190030260
i wrote a view to display a plot in a template but it is displaying "AxesSubplot(0.1275,0.11;0.77x0.77)" instead plot graph any one help me how to get image of plot
M
190030260
M
lib
plz share the code snap if i can help
Mukesh
Hey can any one tell me that how can I convert queryset(result of django-filter) to pdf, I also want to keep the actual return render as usual.
Mukesh
I am using function based views and "get" request to get queryset
Chethan
Can I get weather app using Django project
Mirco
Anonymous
Richard
Chethan
Thank you sir
Anki|Important texts only
Chethan
Chethan
When I may get it
manav
Inbuilt
Are you on the latest version
Richard
Through API i think
Enigma
Enigma
Hi.
In my project each user has a wallet that can purchase some product if their balance is enough...
so when the user tries to purchase i want to check that if he has enough balance i used a form for taking the count of the product and after that i will check it . i used "form.add_error" for raising error if the user has not enough balance but it dose not work can any one help me with that?
Enigma
forms.py :
count = forms.IntegerField(widget=forms.NumberInput(attrs={'placeholder': 'Count'}))
Enigma
views.py:
form.add_error('count', "You don't have enough balance to purchase")
Ram
Hello guys can anyone help me how to solve this issue
django.db.utils.OperationalError: could not open extension control file "/usr/share/postgresql/11/extension/postgis.control": No such file or directory
Zey
How to set default value in choice field?
Ing. Mario Tamayo
Any tutorial or doc about implementing square api with django
Skilz
Please any tutorial on Django bitnami lightsail deployment??
I read those bitnami and aws documentation but still having issues on apache!!
Anonymous
Hi, I am new to Django, need some assistance
Devu
Hello this is django update operation in user model
Devu
def update_user(request):
id = request.POST['id']
if request.method == "POST":
user = User.objects.get(id=id)
form = UserForm(request.POST, instance=user)
if form.is_valid():
form.save()
form = UserForm()
return HttpResponseRedirect('/')
else:
user = User.objects.get(id=id)
form = UserForm(request.POST, instance=user)
return render(request, 'put.html', {'form': form })
Devu
Bt it gives multivalueDictKeyError at line
Id = request.post['id']
Devu
Id will be taken as input
Zey
How to set default value in choice field?
Rushabh
Each user have there unique Id am I right...? And you want to update their profile...
Devu
Yes