Diya
please help me
Diya
How I create a mail template - to collect feedback
Diya
On Django
mel23
Hey guys, why not django support math for decimal fields?
Mohammad
hello
can you help me???
#get info from user
user_id = request.POST["id"]
phone_number = request.POST["number"]
price = decimal.Decimal(request.POST["price"] )
user = User.objects.get(id=user_id)
#step1 submit order
order = Order.objects.create(
user_id=user, phone_number=phone_number, price=price)
order.save()
error :
IntegrityError at /sell/home/registerorder/
NOT NULL constraint failed: transaction_order.price_currency
Mohammad
mel23
Mohammad
Pedro
Hello
Pedro
Group
Pedro
HELLO ONE QUESTION?
CAN I DO A TESTCASE TO AN ORM QUERY
GLuko
'Settings' object has no attribute 'ADMIN_LOGIN'
https://sourceb.in/9v6UiZiS5O
thats last I think
I make 2 custom backend
GLuko
help someone
Kelvin
Has anyone used django-summernote?? I need help.
Fab 🌈 🐇🕸
any good replacement for django-select2 for autocompletes? Something that provides some kind of widget for forms
Alex
Alex
Dipali
Can anyone tell me how to learn django from scratch ? I am new in django
Rajat
Dipali
Ulug'bek | Python Developer
Hello guys. How to make 1 CRUD serializer from 2 or 3 models in Django RF? Those who know, please help me, if there is a source, please show me
Alex
Ulug'bek | Python Developer
Alex
Ulug'bek | Python Developer
cbv or fbv?
I am sorry, what is cbv and fbv ?
Alex
class or function based view
Ulug'bek | Python Developer
Alex
oh then you can do something like this
https://gist.github.com/Vibhu-Agarwal/8f71bbef7072f1deea05c75abfb3c941
Ulug'bek | Python Developer
Harry gorilla
How can i share a photo of my django output in here?
Doragonsureiyā
Harry gorilla
How can i share a photo of my django output in here?
I was learning memcache in django and i successfully completed the learning. The problem is the output of my memcache in the admin site shows the bar graph as red and on the percentage part it does not show 100 percent. Is this how it should look like?
Doragonsureiyā
Harry gorilla
AℤℐℤℬℰᏦ ☝️
from flask import flask
app = Flask(__name__)
@app.route('/'):
def index():
return 'Hello!'
if name == '__main__':
app.run(debug=True)
AℤℐℤℬℰᏦ ☝️
File "application.py", line 5
@app.route('/'):
^
SyntaxError: invalid syntax
Mykhailo
Hi guys!) I lost my .env file which contains the secret key of the django project. Now I need to create a new project and move the code into it?) Or is there a simpler method?
UPD. I just needed to generate a new secret key. This page helped me do it. #lost_secret_key
Abhishek
hi, i need help I've customised django admin form to make chained select functionality but problem is that when i save it I'm getting Enter a list of values, please help me
Не выходи из комнаты.
Hi. Why I get 0.0?
qs = Supplier.objects.annotate(
goods_with_sales=Count('goods', filter=Q(goods__history__sales__gt=0)),
).annotate(
goods_sales_percent=(F('goods_with_sales') / Value(500)) * Value(100),
)
Amnas
self.UserModel._default_manager.db_manager(database).get_by_natural_key(
AttributeError: 'Manager' object has no attribute 'get_by_natural_key'
Amnas
I can't create superuser after email it show this
Amnas
any idea
Naveen
ImportError: cannot import name 'ssl' from 'urllib3.util.ssl_' (C:\Users\Admin\anaconda3\lib\site-packages\urllib3\util\ssl_.py) getting this error while eb init
deploying django app through aws EB
Kelvin
yeah
When last did you use it? I've been trying to use it in my Django project but it's not showing.
Abdulrasheed
Hi guys
Please I am looking for a soccer Live stream api that I can use in my django website or embed linkbut I have search everywhere on Google I can't find one
Please help me out If you know one
Alex
Alex
Abdulrasheed
Alex
Alex
go through checklist if all things are configured properly, like form widget, migrations and installation etc.
Kelvin
Alex
Fab 🌈 🐇🕸
Navroz
Hi everybody🖐️
I have a problem.
django.db.utils.OperationalError: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
How to fix this, in WINDOWS
Harry gorilla
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [25 lines of output]
Anyone understands this error while trying to install django dependencies?
Charly
Charly
Shivaay
Hey group members, I am relatively new to Django. Can anyone guide me how can I learn this framework
Anonymous
There are many django courses on youtube
Anonymous
Also you should practice
Trx
Rajat
ignatius
I'm trying to use Google cloud API like map for my project, I'm able to login but not able to access any feature of Google cloud. Any suggestion pls.
Kelvin
Navroz
Navroz
Happy days
How to get all code related to HTML and CSS in django
Happy days
How to connect and use mysql with django
Mirco
Doragonsureiyā
How to connect and use mysql with django
These single steps will help you a lot:
Step 1️⃣: Open a browser
Step 2️⃣: Write down https://google.com or https://duck.com and press Enter
Step 3️⃣: In the search box, write down the same words you asked here
Step 4️⃣: Read the first results
Navroz
Maryam
Hey everybody , I want user to be able to register to my website either by email (send them verification link) or by their phone number and otp , can anyone help me how to do so?
Harry gorilla
https://stackoverflow.com/questions/24319558/how-to-resolve-django-core-exceptions-improperlyconfigured-application-labels
I was going through this django error and i find the second solution to be more easier for my problem. I wonder why it was not given many votes as compared to the first solution which seems to be more complicated