Mirco
I don't have a magic ball 😊
Mik
Hi guys i'm learning Django, what python version should i choose? 3.6, 3.7 or 3.8? Are they all compatible?
Altaf
Aswath
Mik
Thanks
Mik
Aswath
Nope
Aswath
Anonymous
Is it possible to use react in Django?
If yes how?
Ghorz
Anonymous
Hi there , can i built user feed like facebook and instagram in django
Pedro
how did you installed django ... do you use pip tools for python in your version 2.7?
Anonymous
Hi , i developing a social platform and i m having trouble in making user feed and notifications , etc . Is ther any application or Api which is free to use with django?
Anonymous
ashish
Which part you want help exactly
Anonymous
Anonymous
User feed like instagram
ashish
Mikhail
I want 2 undetstand how i have to do it
We create the form and them let user input his phone number in this form
<form method="post">
{%csrf_token%}
<input type="text" name="to">
</form>
Inside python file we intercept data by request.POST.get('to')
But i am not sure if will it work
Here is another variant
<form action = "{% url url-name %} - Here we exactly will send our data to server , but how in this case file will recognize what he need to intercept ?
Mirco
Mirco
Even without the action, because the base views have a post() method to handle this kind of request
Mikhail
And how to persistant otp between two views
Mirco
🧩
Hello everyone. I have been studying django not so long and have encountered such a problem. I have 4 categories and 4 html pages. I want to write a class PageViews(ListView) which will display on each page articles of a separate category (or if it possible use only one html template for each category). Who could help me?
Arturo
🧩
but i have highlighted menu button on each pages
Anonymous
Anonymous
Dextroleav
Hello everyone
Dextroleav
I m developing a Ecommerce Book selling web app using django. I m facing a problem,
I tried to make the payment method same as Amazon (only for demo) so when i buy product , I enter the name , and details of user and also card details for payments and vice versa, lets say two users buy different product but when i go and check my orders page , it shows my product with my payment details and and also his product with my payment details and his name and payment details with my product and hia product.
I m not able to solve this
Anonymous
hi
i have this in html
a href="#home-section "
i have to use django template for this but i don't know how
Денис
Денис
Anonymous
Anonymous
<li class="nav-item "><a href="#home-section " class="nav-link "><span>Home</span></a></li>
Dextroleav
Ezio provide a name also
Anonymous
Ezio provide a name also
you mean
<section id="home-section " class="hero " name='home-section'> ????
Денис
No it doesn’t work
Read this https://www.rapidtables.com/web/html/link/html-anchor-link.html#same-page
And please learn html before you dig into django
Денис
It’s a prerequisite as well as Python knowledge
Dextroleav
@Ezio yes, u need to refer i.e. u need to go to that section, so this can help
Денис
As long as you provide no info I can only show you this https://stackoverflow.com/questions/5508888/matching-query-does-not-exist-error-in-django
The Summer
Guys can you provide me one simple example of slug url
The Summer
I am stuck on one problem
Maksim
The Summer
I turn of laptop😁
The Summer
Off*
Денис
The Summer
Guys...
The Summer
FieldError at /catalog/author/Strphen
cannot resolve keyword 'slug' into field.Choises are:book, ......., last_namr
The Summer
The Summer
I can DM code if u want
Maksim
Show your view, url, model.
The Summer
I just DM u
The Summer
Kumar
Guys, I want to keep open the stream of my rest api to send the real time data to my template..
But I'm not getting how to?
Kumar
Need help over this..
Currently it's working on click event...
Kumar
And I want the data without refreshing my page..
Kumar
If anyone can help me over this...
Kumar
Any docs or vdo that I can read or see to implement...
The Summer
Ihor 🐈
Guys, is serializer.py with UserModel a good place to hash password? I mean to override create and extend it with validated_data['password'] = make_password(validated_data.get('password'))
Денис
Sir I dm u too
No.
If you ignore when we ask you to share your code on pastebin or elsewhere, we ignore your DM
Денис
pure logic
Денис
If anyone can help me over this...
JavaScript will do. Ajax, any suitable framework will do. Your client browser must keep the connection open, not your backend itself.
The Summer
The Summer
The Summer
Can u write syntax here?
The Summer
If I wanna make first_name as a slug
Maksim