Kis
anyone here that know how to implement stimulation annealing and generic algorithm in django?
Charly
Charly
Django is a web development framework
Conduah
[ls
Kis
if you can help with the concept, i will be fine
Conduah
pls can i get almost all the classes used in django for important stuffs
Charly
Mostafa
What should I do to motivate myself to code?
Anonymous
hey guys do you know how to implement forgot password into login forms with email and django rest apis?
nyctophile
Hello guys!
I was trying to add delete funtion to my project
But i am getting this AttributeError: 'tuple' object has no attribute 'get'
and here is my code
can anyone help with that
Thanks in advance!!
Eternity
nyctophile
Doragonsureiyā
What should I do to motivate myself to code?
Your question is not related to Django.
If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Muhammed
Login and authentication with
Django and flutter
Any reference API
_Aanya
Can anyone tell me best source and best way to Learn Django
Shahzodbek
Can we use SSO with django
Jimmies San
Vitalii
Hello everybody ! Please tell me why I don't get an error when the user enters an incorrect password. I can't understand where exactly the problem is.
Login Form :
class SignUp(LoginView):
template_name = 'client_app/sign_up.html'
form_class = SignUpForm
def form_valid(self, form):
username = form.cleaned_data.get('username')
password = form.cleaned_data.get('password')
# Attempt to authenticate the user
user = authenticate(self.request, username=username, password=password)
if user is not None:
# If authentication is successful, log the user in
login(self.request, user)
return redirect('home')
else:
# If authentication fails, add an error to the form
form.add_error('Password', 'Невірний логін, або пароль.')
return self.form_invalid(form)
Vitalii
I changed the key to 'password', it didn't help
Azizbek Xushnazarov
Vaibhav
Ali
Hey guys
I gonna to create a webapp using jango like git, but in a small scale.
I want to Just it save history of document file (ex. docx or ...) without any branch and so on.
Just committing and versioning.
Thanks for your help
KingFx
Ali
how can we help you
I want to know how to save file changes like git function and how to implement this project
KingFx
the basic implementation would be design a file object, that have a date, author,content,
Ali
daniel
hello guys i have an issue. my authentication worked before but doesn't work again. and i didn't change any code. It just shows me unauthorized in anything i do. i can't create new user, login user and logout user. it gives the same error and it's not from the frontend because i have tested the endpoints with insomnia. https://linkode.org/#TWVot0yvpOOBAZiHcdl3k5
Stanislav
Stanislav
But with such settings, would u be able to protect a resource ?
Dullah
Hello Guys
I am looking for help on how i can deploy my first simple django app on a cheap server.
Any recommendations (books, tutorials, yt videos etc), anything I would really appreciate 🙏🏽🙏🏽
daniel
But with such settings, would u be able to protect a resource ?
honestly, i don't know much about all that. i'm still a beginner. But definitely i'd do more research on that. i just wanted to get the website to perform it's basic functionality. the fault in authentication was interfering with the workflow.
Dailin
Muflone
Stanislav
Junior
Guys i am using htmx, but when i use hx-get, dont load scripts js, how i fix that?
Vaibhav
_Aanya
Where can I learn about web development fundamentals and RESTFUL APIs?
Junior
in website:
https://www.django-rest-framework.org/
Prajun
Is there any resourse or YouTube tutorials for understanding ORM queries in django🙂
Charly
Prajun
Thank you
pranav
Is there some sort of roadmap to learn about django rest framework?
𝘴𝓲ꪀꪖ
pranav
pranav
Dambek
hi guys, i had created model formset with 1 field, but after is_valid i got <ul class="errorlist nonfield"><li>(Hidden TOTAL_FORMS field) Required field.</li><li>(Hidden INITIAL_FORMS field) Mandatory gender, how i can fix that?
Junior
Dambek
Junior
Do you need jquery or something to manipulated total_forms
Dambek
Junior
i dont know a way to do this without js or htmx
Dambek
formset = modelformset_factory(model=Under_Theme,fields=['name'], form = Create_Under_Theme_Form, extra = 1), i just create formset and use as_p, and i just want do it without js
Junior
well i never do this without js, so i cant help y
Dambek
@l!®€z@
Hi guys how can I enable wss on Django channels
khalelovaD
Hello, everyone
Could anyone recommend any sources/video playlists on YouTube about creating a website from scratch, preferably related to a regular school website? I would appreciate it if someone responds to this message.
inchidi
Neha
Any one can refer me as a fresher I have passed out in the year 2020
Neha
I have knowledge on python and I have taken training on django SQL and python
Neha
Please any one help me
inchidi
Dambek
inchidi
Neha
Sorry for the inconvenience
inchidi
are you sure thats the output of
print(
modelformset_factory(model=Under_Theme,fields=['name'], form = Create_Under_Theme_Form, extra = 1)
)?
Muhammed
Can anyone share a vedio link that
Connect
Flutter and django
Dambek