Code
Js is runs in the browser...unless you’re refereeing to Node Js...which is server-side (backend).. you can’t ‘store’ images in the browser
Dan
Hey, Men, im a novice so a simple question - what i must use to represent my Page - generic views (like templateview) or function render? Or a generic view and within It return render? Thanks a lot
Lone
Hey, Men, im a novice so a simple question - what i must use to represent my Page - generic views (like templateview) or function render? Or a generic view and within It return render? Thanks a lot
all of them will work...it depends on wat you are trying to render ...just a page or a data base based dynamic page though all of them would still work
Lone
Thx, man)
wat are trying toachieve exactly??
Dan
I Just make an example 2-page site (if you can name It a site:)). In one guide i see using of template view with template name = index html, in other guide i see return render request index html. Thats why I m thinking what would be better or righter
Anshul
Please tell me the error I tried searching it but not get
Jon snow
Your appname/home.html
Anshul
can you tell me what happend with appname
Jon snow
Give me screenshot
Anshul
code
Anshul
?
Jon snow
Yes
Jon snow
Pm me
Anshul
wait
Izbash
You must register in settings, all templates dirs that you used in your project
Ç
sir really thanks ❤️
Has another bug about import ing views.plz check out again.i have refix the answer again.
sheikh
How can I use multithreading in django
Ravi
If i have table with the date wise to pick from nsc and kept in one excel with different sheets with date wise how can i use
Dini
Sry
Dini
Ya
Anonymous
Hello everyone I m a novice on django so i wanna know what can i do with that?? Thks for all
Sheshadri
Hello everyone I m a novice on django so i wanna know what can i do with that?? Thks for all
you can do anything and whatever you see on the web with Django, go ahead with https://www.djangoproject.com/start/
Mr. Anonymous
Which algorithms used for knowledge graph have any idea if anyone have links of that pls share
Doragonsureiyā
Hello everyone I m a novice on django so i wanna know what can i do with that?? Thks for all
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Aman
how to delete a row from the dynamic table and show on the front end using jquery
Dan
Hello. I made migrations for my app pages, in models.py i added class and ONE TextField. Everything is ok. But i wanted to add ANOTHER field to my class. I changed models.py as I would. Is there a possibility in cmd for automatic remigration and adding my NEW field? Without rewriting 0001_initial.py? Thanks
Arun Pandiyan
python manage.py makemigrations python manage.py migrate This will create another one migration file named 0002_*
Dan
Delete migrations file and run makemigrations it will show one migration
Thanks, I thought bout It, but I would know is there a command in cmd that automatically adds new fields to migrations, so i have only to type migrate
Bunty chhatri wala..
Input and output on a same html page in Django without JS. Is it possible to do something like this?
Bunty chhatri wala..
Explain better
Function1: A simple form With Name, Mobile number, etc And lastly submit button. When user press submit button, Function 2: On the same page he gets the message * Successfully submitted * But both the operations on the same Home.html page
Romila
Hey guys Can anyone please tell me how can I become perfect in Django? I'm at intermediate level
Romila
Sure
Sreejith
Hi I have been modifying a value in a view and rendering the same page but the page is not updating the value, what needs to be done
Sreejith
https://paste.ubuntu.com/p/wMPKpk3Pf8/
Dk
What is lookup_url_kwarg?
Mirco
What is lookup_url_kwarg?
Documentation will answer you better than us
shekhar
anyone who knows how to make oauth page in flask?
Doragonsureiyā
anyone who knows how to make oauth page in flask?
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Anshul
Unable to import 'django.shortcuts'pylint(import-error)
Anshul
can anybody tell me
Anshul
how can i fix it
Gil
how can i fix it
you have problems with managing system/virtenv packages, may be you need to search and read about it. If error is from pylint maybe is pylint that don't know whre django package is installed.
George
I've kicked pylint.
Anshul
okay
Abhishek
Any tutorials for starting with django
Abhishek
?
Mirco
! djangotut
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Abhishek
Is these starts with basics?
Mirco
Yes
Shubham
Can we define endpoint in single path
Mirco
Yes
musa
Hello, I was creating a class view using CreateView, I did everything but I'm getting error with " 'myclass' is missing a Queryset" ImproperlyConfigured
musa
Share code with pastebin
Share the actual code??
Mirco
Share the actual code??
What d'ya say ? 😁
Ghorz
Hey, use pastebin next time
musa
What d'ya say ? 😁
I did not know what pastebin is😅
musa
Now you know it 😁
Yes, and I have fixed the error, it was my spelling @Terahun thank you
Anonymous
model_to_dict(mention) -> TypeError: Object of type 'datetime' is not JSON serializable How fix this issue? Field datetime in model
Abhiram
I created custom user model and tried to add an user registration in rest framework. But it doesn't pass values of newly added feilds https://stackoverflow.com/questions/61559577/i-cant-pass-all-vaues-from-django-rest-framework-for-custom-user-model/61559680#61559680 Plz check this out
Anonymous
Hello Guys, I wanted to make a business website which has a blog, an about page and a landing page. I was wondering what should i choose between django or wordpress? Also Considering the fact that i only know python and not php...