Praksh
I maen we can build a static website by django Can we turn into dynamic website?
Anonymous
I don't think I'm familiar with your definition of static and dynamic websites, please enlighten me
Praksh
Dynamic is the website which every one can visit it and static is that we are using while making it
Anonymous
Every website static or dynamic can be visited by everyone providing that it set up accessibly, no?
Anonymous
I didn't understand the part that website that is used while it's being made
Praksh
Okk
Praksh
Then how can every one visit our website made in django
Anonymous
Praksh you have misconceptions
Anonymous
Dynamic vs Static
Praksh
Dynamic vs Static
Yaa i think sorry for that
Anonymous
Dynamic is for different search query google search page changes
Anonymous
Static is where for all users its same page
Anonymous
when you render template which doesn't have any data provided by database or anything it will be static
Praksh
Static is where for all users its same page
Got it bro but can u help me on my question?
Anonymous
Anonymous
I maen we can build a static website by django Can we turn into dynamic website?
you can do both, but to serve static content you can serve from nginx as well. when you install nginx and see default page it's static
Anonymous
It can serve static pages but can't generate one
Anonymous
When you install django and see django home page with rocket it's static
Anonymous
Anonymous
Anonymous
for each model it has one page when you register it
Anonymous
How do you think that works
Anonymous
It's generating dynamically
Anonymous
When you install django and see django home page with rocket it's static
But when you visit it or sends a request from the browser to view that page the request goes to Django, so there is a server that responds to the requests
Anonymous
Static often refers to websites that works only on client side
Anonymous
Dynamic websites need server side processing
Anonymous
So my point is Django is for completely dynamic websites
Nikolay
django admin panel is dynamic
Django admin panel got static as well
Nikolay
So my point is Django is for completely dynamic websites
Django could do both, but if you don’t need dynamic, you don’t need Django :)
Anonymous
How to add validation in a imported excel file using django??
Ayy
I guess Praksh is asking how to deploy a django website so anyone can visit his site
Anonymous
when i submit my form then if i refresh it again data are submit how to resolve it
Anonymous
data store in db
Anonymous
ok thanks
Anonymous
ok is there i use django validtor to custom form
Manikz
Does anyone have Django 1966 movie
Anonymous
i want to use custom form like html form not django form is there any way to use django validtion for html form
Anonymous
i want to use custom form like html form not django form is there any way to use django validtion for html form
There is a concept called messages in django...or ls u can use bootstrap validation r jQuery validation
Anonymous
ok
Anonymous
Who knows how I can overide Django's username validation errors?
Anonymous
No i'm using Django rest-auth to serve the api endpoints
Anonymous
May I knw wat error ur getting?
Alex
May I knw wat error ur getting?
what are you doing with those vast amounts of time on your hands? those abbreviations rlly mst pay off
Shivam
How to generate a weekly, monthly reports from daily basis entry of user expenses ?? Please help me out with this!
Anonymous
Anyone worked on debezium here for cdc?
Doragonsureiyā
Anyone worked on debezium here for cdc?
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Anonymous
May I knw wat error ur getting?
Thanks tho. Fixed it already.
Дмитрий
have problems in Saleor when create categories in russian languague, but if create in english and then replace in russian it ok. What can the problem?
decaf
hello people. i have a question. how can i redirect user to the same page, after using DeleteView?
decaf
You can use the success url or get success url method
i currently use success_url, but im not sure how to pass the id
decaf
so, i have post and comment thing on my website, and i already know how to delete a post and return to posts list. but now i want to delete a comment and redirect user back to the same post he deleted his comment from
Mirco
i currently use success_url, but im not sure how to pass the id
Use get success url method and you have access to the id
Doragonsureiyā
thank you, it helped
You're welcome! 😊
decaf
cute
Ghorz
i currently use success_url, but im not sure how to pass the id
No Id, once you delete you return to list or something else
decaf
Write a delete_url method
it's already works, don't really want to touch something that works, especially on my level of knowledge
decaf
but thank you anyway
Ghorz
Since the post is a foreignkey.
Ghorz
Grab it from the comment, delete the comment, redirect to the post with the param you grabbed
Ayush
how can i add links anywhere i want in my django blog
Anonymous
How can if extent from one template to another in different apps...
Nikolay
How can if extent from one template to another in different apps...
Same way as from base.html, {% extends 'app_name/page_name.html' %}
Anonymous
Hey if we don't use upload_to argument in filefield will It work?
Anonymous
Can someone please tell?
K
I m getting the error maximum recursion depth exceeded while calling a python object ,while running python manage.py runserver command can anyone pls help me?
Anonymous
A small question when we run django server it by default takes http
Anonymous
How do we get https