Khumoyun
Hi Guys, I am very new to python.
Trying to scape the instagram data on the basis of hastag..
for this I am using instaloader package.
as that package does not give like and comment users on the basis of hashtag so I am first fetching the posts and after that getting the liked and commented user.
now how can I convert that in array of object as per the posts.
for eg: [{
post_id: "<Post CAFq9VPnntW>",
likedUser: ['userX', 'userZ'],
commentedUser: ['userA', 'userB'],
}, {
post_id: "<Post KLFq956nntW>",
likedUser: ['userX', 'userZ'],
commentedUser: ['userA', 'userB'],
}]
try to use InstaPy
Mirco
Hi Guys, I am very new to python.
Trying to scape the instagram data on the basis of hastag..
for this I am using instaloader package.
as that package does not give like and comment users on the basis of hashtag so I am first fetching the posts and after that getting the liked and commented user.
now how can I convert that in array of object as per the posts.
for eg: [{
post_id: "<Post CAFq9VPnntW>",
likedUser: ['userX', 'userZ'],
commentedUser: ['userA', 'userB'],
}, {
post_id: "<Post KLFq956nntW>",
likedUser: ['userX', 'userZ'],
commentedUser: ['userA', 'userB'],
}]
Move to @python
Khumoyun
I have tag field in News model. I have not an idea how to select multiple tags with Ajax, help me
P.S: I am not using forms.py
Slim
Sorry
Tel
Anonymous
When connect react frontend with django Do you use Api?
Ramazan
Yes
on
I want to receive data to my ph number or email frm my website form..... which django package shud i use?
#!/bin/sh Inَactive
Nirupam
Hello guys, how to fix incorrect padding
Nirupam
Error
M
hi i have written some modules and imported that in my views.py so that i can use functions there in module. whati see is even i change the functions in module , changes don't get reflected and seems django doing some caching there ..
M
any suggestion i can have these changes reflected without restarting my sever
Dan
Men, a question about PGSQL in Django. If I create db, user, some data on first computer and then push it all in Github - where will be a database file like db.sqlite3 in SQLite? How can I get data from this database when I pull my repo to another computer? Thanks a lot
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
sammy
How to implement AWS Glue in REST API...??
sammy
Any idea about AWS Glue...??
:(){ :|:& };:
Hi, Creating dummy csrf or adding csrf_except, which one is secure way?
Jimmies San
:(){ :|:& };:
Jimmies San
lol
i have a tattoo about that fork bomb :)
:(){ :|:& };:
sammy
How to implement AWS Glue in REST API...??
Anonymous
Hi, while implementing djongo and mongodb models , i used decimalfield for representing latitude and longitude but there comes a db error saying mongodb does not recognize decimal fields , is der any other way to store latitude and longitude in mongodb with django
Anonymous
Jimmies San
Jimmies San
or this
https://stackoverflow.com/questions/29249828/how-store-latitude-and-longitude-in-mongodb-collection-and-how-to-use-it-with-s
Jimmies San
and so on
Root
How to implement custom check while updating field on django admin
Omar
I run the development server on my Wi-Fi. ( runserver 192.168.44.43:8000).
I've shutdown the development server but Chrome and Firefox still loads my Django web app. Why ?
Root
Omar
I've cleared all caches
Anonymous
Yes i tried google many a times , and one stackoverflow answer directed me to use decimal field of django with mongodb , but when i implemented it and ran migrate cmd it says db error
Root
Root
shruti
We are a group of 2 members one is dealing with frontend and I with backend .
So I will definitely be using django rest framework .
My job is to create a signup login logout system with full authentication about password email username . Also include functionalities like change password reset password And also .I have to develop a social login system as well . ..
I have seen many videos regarding this and I am confused .
Some have used django.rest.auth .. which has all features while some have import user model from django.contrib.auth.models and doing stuff with serialiser and checking authentication by treatign serialisers as forms while some are using knox authentication tokens .
Anyone can please help me .what should I do it what will be best for me in this usecase please help I am totally confused .. please tell in context of django rest framework.
Bhaskar
shruti
Watch Corey Schafer playlist on Django
I am talking about django rest not django.i think he has made videos on django ..for simple django forms and all that I know . We are a team of 2 as I already told so I can't use templates static files all that ..I am dealing with backend only not full stack
Andrea
good morning everyone, I state that I am at the first steps in using django ... I wrote the form for a newsletter in a file.html, which is rendered correctly but I cannot understand how to activate it, if the user enters an email and click the subscribe button how can I make sure that an email with content = user mail (textbox content) is forwarded to me?
Bhaskar
Anonymous
Anonymous
You can build API for login or Registation too.
Sandy
Please create a project where you need to use an custom user model requiring email as the login userver name.
Create model to get student registrations, have a view for login, logout, submit application, view applications page in the front end.
on the django admin display the data, with searchable fields and list filters
Sandy
Root
Hi guys how can I make check whether user can view and edit only that objects which he is allowed on django admin
Anonymous
Anonymous
Taku
How to get our location using location API?
Kapil
Hello my Django application is failing on load test saying "free (): corrupted unsorted chunks:" . Can anyone please help me what would be possible cause. PS : I am extracting data from Oracle db through cx_Oracle connection.
Anonymous
Can't we use two different buttons with different url and parameters in same html page? It show me noreversematch error?
Mirco
longNT
Hi everyone I am newbie here. Hope can have your help
Ariel
Hey all. I'm developing an eComorce, based on Django and Saleor. Will it be the right way to finish the backend, and then move it to a freelance for writing the views and the frontend?
Alex
Alex
Ariel
Anonymous
Anonymous
https://stackoverflow.com/q/64553211/7494813
Mirco
functions require snake case and not camel case
Anonymous
How to host flask in besthost.by
Mirco
Doragonsureiyā
How to host flask in besthost.by
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Mirco
Anonymous
Hi
Anonymous
https://stackoverflow.com/q/64553211/7494813
Micro already answered your question on SO. But let me add more inputs. The view named viewAll is a list view function. It is returning all records from your Restaurant model. For the same reason, there is no need to pass a argument named mycid in the function. Remove it from the view, from the url and also from the template, and it should redirect to the correct template when you click on the View All button.
Mirco
Anonymous
My apologies. It got auto-corrected.. 🙏
Anurag
I have developed a website in django ...as I am low in financials I can’t afford AWS RDS as it cost 800$per month. And when I am hosting PostgreSQL on VPS my website gets slow... what can solution for this.. in the sense an option which cost me low in price and give sufficient speed...
Anonymous
I want mycid once it'll be printed in viewall definition I'll write logic.
Anurag
It’s take time to connect django server and PostgreSQL server.... how can I reduce this time
Anurag
When I use PostgreSQL in my local computer it gives best speed
Mirco
Anonymous