Roman
The speed should be super fast
Roman
Actually the should be some kind of SUB to the insert
Mehmet
I want to tell all developers here that flagging is not locking most of the time. Developers fall this mistake. because of DB philosophy, your flagged record may be unflagged in a different worker.
Mehmet
The speed should be super fast
There may be some over buffering while listener worker is sending gevent pool, that is your responsibility to profile that.
Mehmet
It would be correct to have processing and processed flags, right?
You can use those flags if you handle synchronization problems. For example we handle synching issue by making constraint as one worker.
Anonymous
I see.. makes sense
Webstar 
Can someone help me out, I’m having issues displaying my model objects on my homepage!
Mehmet
You can use those flags if you handle synchronization problems. For example we handle synching issue by making constraint as one worker.
There is also a Django builtin function to leverage DB layered pessimistic row locking: select_for_update.
Anonymous
There is also a Django builtin function to leverage DB layered pessimistic row locking: select_for_update.
Yes.. have been using these on views when handling money operations.. but it did stuck my app when using it over celery, with gevent.. it did work with eventlet and prefork though
Mehmet
Yes.. have been using these on views when handling money operations.. but it did stuck my app when using it over celery, with gevent.. it did work with eventlet and prefork though
Actually I have not used row locking on celery, normally views are contained in a DB transaction on default settings, for celery tasks it is not the case, DB is used in auto-commit mode in celery tasks as far as I know. So a manual transaction block may have to contain the select_for_update /row locking) operation.
Mehmet
Of course, that is a theory.
Anonymous
Defintly a good topic to look at!
S
i am trying to owner name which is in a different excel file and in another file i have phone number.. i want to write a programme which will go to search phone no of each row and get owner name from other file and save in phone no excel file..can you plz suggest which python module should i use and can panda able to do it.
Gaurav
I want to implement chat feature along with push notifications (js), like whenever a user sends message to another user he gets a notification that "you have a new message" like web.whatsapp. I'm using django channels. Can anyone please help me?
S
Yep..use pandas
there is another module openpyxl is it good...i have data of around 7000 people and it can go more in future..
S
Thanks..
Anonymous
http://pyblogs.pythonanywhere.com/ Guys this the final version of my third website
Anonymous
Guys give some suggestions please
Anonymous
Made in django
Bunty chhatri wala..
Guys give some suggestions please
You can use tags...and a section of recent posts
Anonymous
Ok bro 👍 tysm
Anonymous
Help please, i want to build an international shipping site please I need an algorithm that generates unique number and the number will be used to track down your goods and when u enter the number in a space provided , it bring out your details and keep track on them please
Rajni
How to fix matching query doesn't exist ??
Doragonsureiyā
How to fix matching query doesn't exist ??
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Anonymous
Anonymous
Ok
How to use it please cos am doing this in Django framework please throw some lights
Doragonsureiyā
How to use it please cos am doing this in Django framework please throw some lights
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Anonymous
Ok
Anonymous
Hello guys
Anonymous
How I get the data from APIView to next app html page
Anonymous
Mean after registration redirect to profile form
Anonymous
Please help
Damron
https://stackoverflow.com/questions/46894155/redirect-after-post-django-rest-framework Maybe smth like HttpResponseRedirect would help you
Anonymous
Hi guys how is owner django group??
Mehmet
How I get the data from APIView to next app html page
APIView is supposed to represent resource ( gathering, manipulating) not handle redirect logic. This is against Rest API's best cases. You should handle the redirect logic in your nextJS app.
Anonymous
How I get username on the next page who just registered
Anonymous
Auth.user
Pankaj
Can anyone tell me if use shuup for my e-commerce site should I have to pay for it.
Mehmet
NextJS framework am I right?
Anonymous
Thanks my friend
Anonymous
HTML ajax js
Mehmet
If you use session authentication, you can authenticate user right in registering and refresh page, or if you use token based auth you can serve initial token right in registering response and save response token in localstorage, sessionstorage etc.
Mehmet
It is a habit actually, when you implement APIView that responds with redirection, it is against Open/Close principle of app, what if you decide to use that endpoint in your mobile app in future?
Mehmet
The best case, when you consider open/close and Single responsibility, would be creating a structure that initially registers, awaits for the positive response, then use login endpoint with the same credentials in memory.
Mehmet
awaiting may be implemented by nesting ajax requests in your app. First, register while you are holding basic credentials in memory and then authenticate with those credentials right after a positive response, refresh page if needed.
Mehmet
I have seen real-world usages like automatically authenticate right in registering logic, even it is better than your approach it is against single responsibility in my opinion.
Anonymous
Thanks man
Ibrahim
if i want to create registration system, is it good to store user data submitted via html form using sql command or i should use django users/ ? any other way pls?
Jade
I want someone to help me with some web development for a project that i have been working on
Pankaj
Is shuup e-commerce free to use? Can anyone guide on this?
Near
What is different between make model inheritance from another model and make foreign key for model from model
abhijith
Use Django Channels
Will it work same as that of soket.io
Mirco
Will it work same as that of soket.io
they let you use websockets
Anonymous
What is different between make model inheritance from another model and make foreign key for model from model
Inheriting from another model is making another object.... Using foreign key is adding another attribute to the model class u r Making
Anonymous
hello
Anonymous
anyone here know how to upload images via ajax to django
Anonymous
please
Anonymous
any help please?
Anonymous
django.db.utils.IntegrityError: The row in table 'vcard_detail' with primary key '1' has an invalid foreign key: vcard_detail.p_id_id contains a value '0' that does not have a corresponding value in vcard_template.id.
Anonymous
help me
Beka
Yes
There are some third party libraries. Google it.
Jahongirmirzo
cj
checkout django-jet
and a very important thing to check out is its licence too
Jahongirmirzo
AV
How much Django is related to Data Science?
cj
What is the problem with that?
go and read it and you'll know
Jahongirmirzo
go and read it and you'll know
It has two versions, which version do you mean?
cj
It has two versions, which version do you mean?
both of them, the problem are not the licences themselves, the problem is people not reading the licences and using it