Anonymous
we do not have net connection
Anonymous
we do not have net connection
That's a different problem. Fix it
R
Hi I am facing issue with websocket in Django is any buddy help me
Mitesh
What is your problem ?
I'll send u img personal
Doragonsureiyā
If any Django expert.. Plz cantact me pc
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 40k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
🏳️‍🌈Robby [ Private Message = Spam]
Ghorz
https://hastebin.com/powupucitu.sql
use raw_sql in django if you can't conver it
J
Hi there I want to Django watch a folder an execute a command on change.
🏳️‍🌈Robby [ Private Message = Spam]
Hi there I want to Django watch a folder an execute a command on change.
https://duckduckgo.com/?q=Django+watch+a+folder+an+execute+a+command+on+change
Mahmoud
Heroku can be used for a website for quizzes for 1200 student at the same time ? There is any other recommendtion for another free server ?
🏳️‍🌈Robby [ Private Message = Spam]
Mahmoud
No free tier will accomodate 1200 students at once.
How many can heroku free accomodate ?
🏳️‍🌈Robby [ Private Message = Spam]
🏳️‍🌈Robby [ Private Message = Spam]
Probably not a lot.
Maz
Heroku can be used for a website for quizzes for 1200 student at the same time ? There is any other recommendtion for another free server ?
Check out the free tiers on Google Cloud & Azure. Then see if your site requirements will work within their constraints (not exceeding limits for free tiers).
Maz
er they might not either
Ah, yes. I remember you. Mr (or Miss) Know-It-All. Good to see you're still alive.
🏳️‍🌈Robby [ Private Message = Spam]
🏳️‍🌈Robby [ Private Message = Spam]
Mahmoud, one thing you could do is a do a deploy to heroku and then do load testing to see if it survives
🏳️‍🌈Robby [ Private Message = Spam]
It *MIGHT* handle it — it might not — not sure about 1200 people concurrently accessing it though — that might be a bottleneck...I have this sneaky feeling that the free tier won't scale too nicely
Maz
If 500 student ?
App Engine should really take the weight off the 500-man load. Then use cloud storage buckets to hold some of your static assets. Set up cloud functions to only trigger after HTTP requests, keeping your traffic minimal.Basically play around with GCP to remain within the $300 dollar free tier limits.
🏳️‍🌈Robby [ Private Message = Spam]
If they have a single monolith, then it won't
🏳️‍🌈Robby [ Private Message = Spam]
I can reduse them to 250 to 500
How is your application designed?
Mahmoud
How is your application designed?
I didn't understand your question
🏳️‍🌈Robby [ Private Message = Spam]
I didn't understand your question
https://t.me/django/54687
🏳️‍🌈Robby [ Private Message = Spam]
is that possible?
🏳️‍🌈Robby [ Private Message = Spam]
Yes
If that's the case then you should be able to survie GCP's free tier
Mitesh
Why not ask here?
Those r images... N I can't explain... That with word...
🏳️‍🌈Robby [ Private Message = Spam]
Mitesh
I want design website like hackerrank using Django... .. Where I can add quetion.. Through admin And which display on home screen of user... I designed that ... But.. There is problem... In design
Mitesh
With the img I can explain u how I want... N what I get currently output.. So it's better to understand
Mitesh
I want design website like hackerrank using Django... .. Where I can add quetion.. Through admin And which display on home screen of user... I designed that ... But.. There is problem... In design
Let me try.. To explain.. There is question in hackerrank site... Which is well structured.. Mean... Line by line... Task 1 something 2 .. 3 ... I copy this question n place in my admin form from where I can question to my site... Here also it is well structured as in hackerrank page.. So I save that form But when I retrive that question in my index. Page... It is not structured... It seems like paragraph..
Mitesh
I want that well structured... Format...
Mitesh
Its simple as... If u enter values in textbox such as 1 2 3 I want that...save that values as... 1 2 3 N when I retrive to my page.. It will be 1 2 3
Mitesh
Oh god
Help.. Anyone
🏳️‍🌈Robby [ Private Message = Spam]
You realize for an application like HackerRank you need to develop a sandbox for running code (which is to be treated as largely untrusted), right?
Mitesh
What?
Yah.. That's the problem
🏳️‍🌈Robby [ Private Message = Spam]
Yah.. That's the problem
http://pygments.org/
🏳️‍🌈Robby [ Private Message = Spam]
For syntax highlighting.
Mitesh
For syntax highlighting.
From where syntax came.. In this...
🏳️‍🌈Robby [ Private Message = Spam]
🏳️‍🌈Robby [ Private Message = Spam]
Share code in a pastebin
🏳️‍🌈Robby [ Private Message = Spam]
Do you want: 1 2 3 N
Mitesh
http://pygments.org/
Ohk.. That gd..
🏳️‍🌈Robby [ Private Message = Spam]
Ohk.. That gd..
You're gonna need that.
🏳️‍🌈Robby [ Private Message = Spam]
as far as input: just make sure you grab the new lines when saving and it should work
Mitesh
Do you want: 1 2 3 N
It's like.. If I entered..values in text box such that Robby O'Conner Django Group 1 I wnt that it save as the same.. And when I retrive from database... It will be displayed as same Robby O'Conner Django Group 1
Mitesh
It's like.. If I entered..values in text box such that Robby \n (I tried this but not working) O'Conner Django Group 1 I wnt that it save as the same.. And when I retrive from database... It will be displayed as same Robby O'Conner Django Group 1
Anonymous
We can use Django for full stack applications. While we use rest framework to create databases and logic to create APIs. We can use this API to create and send data to webapps, iOS, android etc.
ℕo ℕame
You can create site with Assembler, but you do it with django
Anonymous
Yeah. But rest framework has so many builtin tools that will make it easier to build APIs specifically
ℕo ℕame
Drf is a framework
ℕo ℕame
Purpose of frameworks is to make development easier. So it's stupid to ask "why we need frameworks when we can develop without them"
🏳️‍🌈Robby [ Private Message = Spam]
https://www.django-rest-framework.org/
🏳️‍🌈Robby [ Private Message = Spam]
what did you say?
Anonymous
Recently i am working on django to make instagram clone. Could any one help me that How can i build clone of instagram?
🏳️‍🌈Robby [ Private Message = Spam]
Anonymous
Instagram is a django application. That said, it's not hard.
I just designed UI for login page register page and a main page for Instagram home page. I put it in template but i want to know how can i create a button whenever user click on that button they could upload his/her data. Actually i know how can modify data from django admin panel. But i want to know how can i impliment in user page?
🏳️‍🌈Robby [ Private Message = Spam]
https://pixelfed.org is a federated photo-sharing app
🏳️‍🌈Robby [ Private Message = Spam]
PHP based right?
Yes. Uses laravel.
pavi
I use pixelfed, its in active development. 😎
R
I want to refresh my webpage when new data inserted into database Any buddy help me out how to do it?
🏳️‍🌈Robby [ Private Message = Spam]
Anonymous
Can anyone send me a sample portfolio
Денис
Don't shout please. You can find this book in this group's shared files. Just look into.
Margavya
I will surely buy this book if it's open source.. I support the django community and the authors
Margavya
I thought it's open source