Денис
Yeah but how to trigger it just after signup?
probably you shouldn't do this at all. Override your model's get_absolute_url() method to return any URL you like. https://docs.djangoproject.com/en/2.2/ref/models/instances/#get-absolute-url
Jason
Got the solution i was talking about receiver that run automatically after new signup. Thanks man.
Sari
hi, i want to ask for help. want to create an application in django where you can determine the coordinates, many references I read, all using PostgreSQL and PostGIS databases, is it not possible with mysql or sqlite3 ???
Sari
Thanks
Chiranjeev
Can anyone help me with django related questions in interview thanks in advance
ֆ33ʏ377
Can anyone help me with django related questions in interview thanks in advance
Middleware, model = primary key, foreign key , aggregate, access column of foreign table, Session, Auth,
ֆ33ʏ377
These are basics
The Summer
Can anyone help me with django related questions in interview thanks in advance
Read Django Tutorial On MDN it's long but it will be helpful There is around 8Article only
inchidi
english only please
Chiranjeev
Thanks a lot👍
Mitesh
How to create Instagram like comment functionality using django?
Ghorz
How to create Instagram like comment functionality using django?
Show your code so we can help. Remember Instagram comment is made up of many technologies REST, JS, Python, Task Queue etc
Ghorz
Let's see what you've done first
Nikhil
I want to know should I have basic understanding of HTML too, for learning DJANGO, because they are using some template in html code
Андрей
I use request.data.copy() to get all posted data and images from frontend, if i post 1 image everything is good, but if i post more than 1 images i get an error TypeError: cannot serialize '_io.BufferedRandom' object
Андрей
is it good idea to copy everything to memory again? or should I increase size of temporary things
Ghorz
I want to know should I have basic understanding of HTML too, for learning DJANGO, because they are using some template in html code
Yes, all Web applications have HTML as its basic structure. You should know html, CSS and js(optional). Because to display the data in django, you need template which is a combination of html, CSS and js
Андрей
request.data._mutable = True maybe mess, but works
Mitesh
Show your code so we can help. Remember Instagram comment is made up of many technologies REST, JS, Python, Task Queue etc
I didn't write any.. But i know idea.. Basic idea.. Like... There will be comment model containing Fields such as Postid Userid Content Dateposted And in views I have to write one function to get data from comment form
Mitesh
But there is problem.. How can i display.. My all post with that comment form as we see in Instagram..
Mitesh
And also I want help.. Django with ajax.. I used online compiler api geeksforgeeks It works well But there is one problem not problem actually I want make that more better.. When I submitted the code from compiler That page get reload n show output But I don't want that.. I want to c output without refreshing the page.. So I have to use Django with ajax
Sanjay
Error in django -'mediadefineClass' object not intrable
inchidi
english only please
!Древній Укр
oh sorry
!Древній Укр
File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/subclassing.py", line 17, in new new_class = super(SubfieldBase, cls).new(cls, name, bases, attrs) TypeError: Error when calling the metaclass bases metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
!Древній Укр
where might be a problem ?
!Древній Укр
i mean is there a django problem or dependensies ?
S
any devloper from ahmedabad,gujrat,india
I can think about this 😅😅
Anonymous
What is best DataBase for Django?
Anonymous
Or more specifically is MySql or PostgSql more suitable?
Khumoyun
Who knows the best site of postgres for Django tutorials?
inchidi
Who knows the best site of postgres for Django tutorials?
why do you need specific tuts for postgre with django tho?
Ghorz
i mean is there a django problem or dependensies ?
You are on Python 2. Create a virtual environment. The traceback clearly stated python 2.7
inchidi
I don't know postgres
you know djago already?
Khumoyun
Yes
But not tottally
Ghorz
Or more specifically is MySql or PostgSql more suitable?
It depends on the use case. Mysql is okay for minimal project but for extensive work like Geolocation, I'm advice you stick to postgresql
inchidi
But not tottally
then learn more, what you are doing is like basic django knowledge
Ghorz
I don't know postgres
Django ORM helps abstract all database so you don't need postgresql knowledge, install pgadmin on
Gerald
Hello django members, i would like to know the best begginer django book
Ghorz
Hello django members, i would like to know the best begginer django book
Honestly, many django books or videos are not as explainable as the title suggests, it may seem weired but I'm bet you'll learn well from docs.djangogirls.org
Gerald
Correction http://tutorial.djangogirls.org/
hahahhaa, i went to url and noticed it didn;t open, Thanks Though
Gerald
It's awesome
Okay Thanks
Ghorz
Okay Thanks
Here are the basics you need. Know the difference between a project and apps, then models, views urls templates forms With this you should be ready to move on.
AFOLABI
How do I extend the User object in django to add more Field
Raam Goulikar
Guys, need to help to create some calculated fields in a Django model. These new fields should be created from othrr fields of the same class or can be from different class. Any ideas?
Ghorz
How do I extend the User object in django to add more Field
https://ghorz.com/blog/Tutorial/2019-08-22/5/how-to-create-django-custom-user-model-using-django/
Jason
What is the best way to develop friendship ba backend?
Sanjay
We find some error in migration Djnago models:(there are some value cannot serialize in to migration file)
am π
Anyone performed ctrl c keyboard interuppt automatically with python scrpit ?
am π
what u r looking for exactly
My code is stuck in thread queue when while condition turned false , i want to quit the code from console . For that i needed a way in which python code could automatically press ctrl C whenever while turns false
am π
use exit() or quit() under false condition
There must be reason i m asking ctrl c implementation when prior things didnt work out
Mirco
Thank you so much
Django devs themselves suggest into docs to use PG to empower your web/site/app
Anonymous
What is the purpose of using Middleware in django ?
Mirco
What is the purpose of using Middleware in django ?
To make some changes between request and response
Dongoo
I am building tech core team for the product (Django, Python,Nodejs,Html,jQuery,Javascript,Devops-optional). 2 of us managed to get basic product in shape. If you are passionate and willing to spend your free time with us, please ping me.