Anonymous
Well, nah
Anonymous
But, I'll suggest you to read more about how this thing works.
inchidi
Anonymous
Anonymous
you have what?
This site can't be reached error, the site is localhost 127.0.0.1
Anonymous
inchidi
oh
inchidi
Anonymous
😂
Anonymous
TBH I'm speechless too
Anonymous
Anonymous
Hence the name
Anonymous
Even after you successfully run server on localhost we won't be able to see it.
Anonymous
And you probably didn't run the server
Anonymous
Anonymous
And what output does it show there?
Anonymous
Share a screenshot
Anonymous
That too
Anonymous
Share a link
Anonymous
The script is continuing to be generated in my CMD
Alibek
Hello, I have a question. I'm validating serializer and there is a foreign key field which points on parent object (I got recursive relations). I'm trying to get parent by parent = data.get('parent'). In debugger it shows correctly in watcher I'got None, the result is int() argument must be a string, a bytes-like object or a number, not 'Process'
Anonymous
Can anyone turn this to Django version 2.1.7 style:(it's a URL pattern in form of url()
I want it in path() form (Django 2.1.7)
(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20}/$
inchidi
inchidi
Alibek
inchidi
https://dpaste.de/Zn5B
you are currently following tutorial from official docs right? can you share your settings.py and models.py ?
inchidi
Anonymous
inchidi
Corteis
someone have one ebook abot jinja???
Corteis
Shekhar
Corteis
Anonymous
Mirco
Anonymous
iam still confusing about models and database, do you have any references more than documentation?
Mirco
Anonymous
not yet
Anonymous
i will, thanks
Anonymous
my purpose is create accounting and business process like, purchase, warehouse, accounting, sales
to upgrade from desktop app, that i create with .net
what do you think if i create with django?
Anonymous
so will intens with user input and a lot data to query
Mirco
Anonymous
I'm writing a class based view for user login
My class inherites from LoginView
Now my app have several authentication backends so I get this Error:
You have multiple authentication backends configured ...
I have found several solutions in stack overflow for this Error BUT they are for function views. I need solution for my CBV
Question is:
How to specify backend in class based view? (Which is EmailAuthBackend)
Mirco
Mirco
Anonymous
Mirco
Mirco
Stop please! It's not the place where post something like this
Vaibhav
Any freelancing jobs in django
Ronald
Anonymous
Anonymous
def form_valid(self, form):
cd = form.cleaned_data
user = authenticate(self.request, username=cd['email'], password=cd['password'])
"""Security check complete. Log the user in."""
login(self.request, user, backend='account.authentication.EmailAuthBackend')
return HttpResponseRedirect(self.get_success_url())
Mirco
Anonymous
Yes it works
But when I remove backend from login it works too. exactly in same manner
I mean
login(self.request, user)
But I am confused a little.
Why I don't get error that you have multiple backends ...
Mirco
Huzaifah
hey
Anonymous
I have two fields. One is phone_numbers another is message. Phone_numbers takes multiple lines(many phone numbers separated by newline). Want to append each phone line to message and save to database in views.py... currently when I submit it only saves the last phone number and message. any documentation reference will help.
Anonymous
Guys please help me with celery
Namitha
Hw do I search for other userprofile in django? Is django-haystack used for that?
Perumal
How to render the bootstrap css and js in django
deeeeeee
What is django and what is the use of django??
Rohan
d.l.c
There is no pinned post
Anonymous
Welcome, please read the group rules before any activity:
» Only English, avoid meta-question
» Be civil, respect other people of the group
» Off-topic is not allowed in the middle of ontopic conversation
» Don't spam messages/stickers/commands
» Promotions for other groups/channels related to django/python allowed, just make sure you are not spamming it (sharing too much)
» Don't share NSFW content (ban)
» Use dpaste.de, pastebin or github gist when sharing code and image sharing service to share images
by joining this group, you are agree with django code of conduct
here is some resource to start with django
Anonymous
Rohan
Rohan
:)
Ashik
Is there any pycharm group available
Rohan