Anonymous
Anonymous
Hi
I couldn't create django app in Windows 10. Getting error
Anonymous
Anyone help me
Anonymous
Which book is best for developing django app in Windows 10? Pls suggest me
👻
👻
Django Girls - start your journey with programming
https://djangogirls.org/
Anonymous
Okay
ken
anyone working on some kind of document management system and would like to share?
Doragonsureiyā
anyone working on some kind of document management system and would like to share?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z"
Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Haleem
One Question Please.... for the Select/Choices Field, is it a good practice to keep same for both value and name like [('First Value', 'First Value'), ('Second Value', 'Second Value')] instead of [('fv', 'First Value'), ('sv', 'Second Value')]
Schohreh
Mirco
Doragonsureiyā
Anonymous
Vikas Singh
Failed to build cryptographic
Anonymous
Haleem
Anonymous
Anonymous
I need a teacher for free of charge)
Mirco
Asadbek
Reverse for 'index' with arguments '('',)' not found. 1 pattern(s) tried: ['$']
Asadbek
i have this error
Mirco
Mirco
With pastebin!
Asadbek
ok
Paŭlo
Hello guys
In DRF, can I do somthing like this?
SomeModelSerializer(data=[], many=True)I have a view which in request.data can have a json representation of a list of SomeModel, but that list can be empty. If its empty, the serializer raises an exception
Asadbek
RENGANATHAN
what can i do
RENGANATHAN
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def home(request):
return render (request, 'index.html', {'name':'Rengan'})
def sum(request):
val1 = request.GET["num1"]
val2 = request.GET["num2"]
res = val1 + val2
return render (request, 'result.html', {'result' : 'res'})
Asadbek
Reverse for 'index' with arguments '('',)' not found. 1 pattern(s) tried: ['$']
Code👇
https://pastebin.pl/view/7ccddc83
RENGANATHAN
it is not brother
Asadbek
RENGANATHAN
ok brother
RENGANATHAN
ok
Mirco
Mirco
Haleem
how to return the multiple field value without tuple which we normally use like values_list('FirstField', flat=True) but I want to return two field data using values_list('FirstField', 'SecondField', flat=True). Its giving TypeError that flat cannot be used for multiple values. I am using this query set in ModelChoiceField.
Prashant
How mature fastApi is to replace django in production?
Mirco
it's like Flask vs Django, they are different and you should choose one based on the project needs
Vikas Singh
When we run python manage.py migrate command
Vikas Singh
In database only 3 tables stored
Vikas Singh
Why this happend
Vikas Singh
???
Mirco
if u add more context we can understand better
Vikas Singh
When we run python manage.py migrate command
Vikas Singh
Only 3 tables stored in database
Vikas Singh
Total 10 tables should be stored in db
Mirco
do u have 10 models ?
M
i have a url which is showing not found even i have defined and coming in to debug .. anyone can suggest please what is wrong
show_error_modal/<title> [name='error-modal']
refresh_plotly [name='refresh_plotly']
show_plotly_chart [name='show-plotly-chart']
M
i am just hitting http://127.0.0.1:8000/refresh_plotly/
M
urls.py is path('refresh_plotly',views.refresh_chart,name='refresh_plotly'),
Anonymous
Naol
are you using apache or the shipped with web server
RENGANATHAN
How to set static files in django
RENGANATHAN
I mean CSS files
RENGANATHAN
JavaScript files
Doragonsureiyā
How to set static files in django
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
John
Is its possible to convert django model to Raw SQL queries ?
Doragonsureiyā
Tony
Alright kul
Mirco
makeover
Can anyone suggest best YouTube channel for learn complete djanjo with projects? english are Telugu
Rohan
Anonymous
Jamal
Is anyone done a project for supermarket, or any one come across such application based on django
makeover
StarLorD
Plz suggest me some projects with explainations
Arunmozhi
John