Doragonsureiyā
How can i share the code if the group doesn’t support photos
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
Ali
Just a moment
Anonymous
how can i download and PDF post data? https://dpaste.org/TqQ2 https://dpaste.org/mm7c
Mirco
how can i download and PDF post data? https://dpaste.org/TqQ2 https://dpaste.org/mm7c
There are lots of tutorials about how to export PDF by passing data generated in a view
Pra
What we have to do .in order to make or url(link) runnable in any persond device ?..if im sending a link to my friend he is not able to open it .what to do
Savan
Which django model field should i use for phone number and time...????
Savan
India
Savan
+91
Mirco
Which django model field should i use for phone number and time...????
for phone numbers u need a CharField if you wanna store also the prefix by country with the plus
个性内向者
source to learn django from scratch pls
Doragonsureiyā
source to learn django from scratch pls
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Doragonsureiyā
Thanks for the help
You're welcome! 😊
Anonymous
Hi friends, is it possible using Django or mb redis create one single class so any request can add or remove item from this class, something like shared memory object? Please example.
个性内向者
i need to create a video chat website using django
个性内向者
my intern project
个性内向者
what things i should learn
Anonymous
Muslim
Thx, but i dont think its good idea))
It’s not good idea to have shared object
Anonymous
It’s not good idea to have shared object
Sometimes we want to solve non standard things
Muslim
Sometimes we want to solve non standard things
And we do it normal way, shared object is very bad way
Anonymous
And we do it normal way, shared object is very bad way
Look lets say we have incoming 50 requests in same time all of them make another request to 3party web fetch content parse it for urls get domains and creat unique hash for sub-domains
Anonymous
How another requests can get new subdomains hashes?
Muslim
How another requests can get new subdomains hashes?
It has nothing to do with shared object. You can write all subdomains and hashes in any cache (redis, aerospike)
Anonymous
It has nothing to do with shared object. You can write all subdomains and hashes in any cache (redis, aerospike)
So this mean on each request i need update cache? And also each time go to cache for get new value
Anonymous
Thx
Karthik
If I want to change the database SQL to SQL server is it possible
Anonymous
can anyone please help me with django rest authentication? on getting a request for login I need to check if credentials are matching and allocate a session to the user. and send that session id as a httpOnly cookie to user and use that cookie to give acces to protected routes.
kisvan
any one with a guide of python and django installations
kisvan
kisvan
i needed something pdf
kisvan
some1 need and he is far apart
Anonymous
some1 need and he is far apart
Go to python.org for python Djangoproject.com for Django
Darth✧
Anyone with good knowledge of django channels?
Mehmet
So this mean on each request i need update cache? And also each time go to cache for get new value
Cache hits are not that big issue for systems, cache dbs are designed specifically for that, they are so ultimately fast that this leads bruteforce security weaknesses.
R.U.S.H.A.B.H
Can anyone suggest me some projects that can be completed within 1 month I'm new to django and still learning 🙏🏻
Anonymous
Can anyone suggest me some projects that can be completed within 1 month I'm new to django and still learning 🙏🏻
School management system, Hospital management system, social media website, blog website Etc
ɱσσɳ
It might be easy to implement. but getting Idea is the core part of every project
Anonymous
Hello All, what is the best way to implement one to many relations in Django, To explain, say I have two models, class Tags(models.Model): name = models.CharField(max_length=100) color = models.CharField(max_length=100) class Products(models.Model): name = models.CharField(max_length=100) tags = models.ForeignKey(Tags, on_delete=models.CASCADE) -> this should have one to many relation with the tags table at name field so how to implement the relation in the table here one product can have multiple tags. Thanks!
Beka
Learn how to google. https://www.jetbrains.com/help/pycharm/templates.html#configure-template
Doragonsureiyā
🚫 ‎Razia [1364602873] is already banned.
Doragonsureiyā
🚫 ‎Ravi [914317649] is already banned.
Anonymous
how does one publish a django project on cpanel?
Anonymous
cj
Why?
cpanel doesn't support anything that is not PHP 🤷‍♂️
Anonymous
Okay thank you.. could you assist me thoh with how i could go about creating a live streaming web app with django?
Doragonsureiyā
Okay thank you.. could you assist me thoh with how i could go about creating a live streaming web app with django?
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
L
Hello everyone! I'm needing to test the is_valid() method for serializers in Django Rest Framework. But it requires db access (not quite sure why since it's meant to contrast model fields with the json data, but it does require access). So I'm needing to patch the part of the is_valid() function that requires a db? Anyone has any idea on how to do this?
Kha
Hi 👋🏻 guys How to validate phone number I mean user input must be 10 digits and start with 0 and second digit after 0 must be 5 or 6 or 7
Prasta
Kha use regex or you could just check it as a string and do a conditional statement for first and second index
Karthik
After django what to learn
Karthik
Any one can sugge me
Prasta
After django what to learn
It depends on where you are heading to
Karthik
Is it is possible to connect more than one database
Vitaliy
After django what to learn
Now learn how to make money from what you have already learned.
Karthik
It's is my interview questions
Karthik
I don't know the answer
Karthik
Any can tell
Vitaliy
Even the variable in settings.py which stores the DB settings is named DATABASES, which implies the possibility of having multiple connections.