Anders (izzno / gooood) 🇳🇴
I know I'll do it 👍
I have no doubt! And I know you'll get the answers you need here if you ask a more direct question :)
Anders (izzno / gooood) 🇳🇴
Anyone interested in porting Django to Node.js ?
Anders (izzno / gooood) 🇳🇴
This is not a joke...
sravan
Gursi........
This HTML table data convert into dictionary of python 3
Like "VN": "118.70.12.171","IT": "37.60.35.7"
Charly
.
Anders (izzno / gooood) 🇳🇴
Mirco
Guillermo
Anders (izzno / gooood) 🇳🇴
It does not exist anything like django in Node.
Guillermo
Anders (izzno / gooood) 🇳🇴
Yes, you have plenty of options to choose from when it comes to templating
Anders (izzno / gooood) 🇳🇴
The Django ORM and / Admin is Unique.
Anders (izzno / gooood) 🇳🇴
("unique") together that is ;)
R
Anonymous
Anonymous
Why do you want to do this?
Anders (izzno / gooood) 🇳🇴
Why do you want to do this?
Because JS has things Python does not, and vice versa. It's not about what's best, it's about what's best in a given situation. Anyone following the JS development path can see this is what's missing. And if we could put out difrenses apart and make this happen we would be better of.
Anders (izzno / gooood) 🇳🇴
I think...
syedj
After logging in if i refresh the page im logging out automatically
syedj
I have tried multiple ways and different tutorials but still same issue
Mirco
Share your code 😁
syedj
This tutorial i tried
syedj
https://wsvincent.com/django-user-authentication-tutorial-login-and-logout/
syedj
And others also
Mirco
And others also
Have you already checked if u are logged in into admin ?
syedj
Mirco
No let me check
I encourage you to study and understand what tutorials' code do, not just copy & paste otherwise you will have looots of headaches in your future
syedj
syedj
syedj
Struck in login since 3 days
syedj
Staff status has a green tick mark on my username in admin ui
Dianto
What is the simplest way to pass multiple model in views.py to single template?
Dianto
Is there any code example i could learn from?
Dianto
I'm stuck on this.. stackoverflow no result.
Nandu
Use dictionary
Krunal
Hi Guys,
How to create force user password change on first login?
Dianto
Krunal
pyhton manage.py createsuperuser
I mean i want to set temporary password for user and when user try to login first time he get prompt first to change password
Anonymous
Can anyone explain me the working of ajax
Rohan
Anonymous
Means
Rohan
Means
Means maybe you should use internet for good
Rohan
http://bfy.tw/MzbR
amit
can you help solve one problem in Django with respect to pagination .
In Infinite scroll Duplicacy issue is coming , used distinct queryset , how to solve this problem ?
Rohan
amit
syedj
Im not able to show form data in my child template
syedj
https://pastebin.com/BT3kzz8U
syedj
https://pastebin.com/LaqdUyZ5
syedj
syedj
If i remove div tag its working fine
syedj
Can anyone help
syedj
Got it i had to add div tags for the form
syedj
Its working
Aitugan
Hello, everybody! Could you help me: I want to unite 3 separate files of one project(html file, and 2 django files)
Aitugan
is there a way to import them or...
Anonymous
Could you explain why you want to do that? The 2 django files are views.py or???
Aitugan
well.. I have two separate python files and each work separately: I have and html file with main page and python files create registration, and some other functionality...
Aitugan
Also, I'm very new in django, so, please, don't think wrong))
Aitugan
How can I see code results? I ran code and that came : Available subcommands:
[django]
check
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
makemigrations
migrate
runserver
sendtestemail
shell
showmigrations
sqlflush
sqlmigrate
sqlsequencereset
squashmigrations
startapp
startproject
test
testserver
Note that only Django core commands are listed as settings are not properly configured (error: No module named 'dj_database_url').
Aitugan
I mean, it doesn't seem like an error, but still doesn't work
Anonymous
Well I believe you are trying to run the server and access your html. First you should check the urls.py and see if you have the proper configuration. To launch the server in cmd. "Manage.py runserver 0.0.0.0:8000"
Anonymous
Try checking an example for creating an app with django in Youtube to understand the concept between these python folders and files.
Marc
Question: from django how can I access a specifc table in mydatabase
Mirco
Marc
Ive already have the table
Marc
Models manage their own tables
Marc
But if I have a specific table in my db, I can acess it via models?
Guillermo
Marc
I have an sftp that recieves csv filed
Marc
That I need to process and load to that tablr
Marc
Is possible to create a model and fill directly the table via insert done by a python job?