Manish
Every time when I start new project is it necessary to create django admin page??
Muflone
Manish
Ok thanks
Manish
Suppose I want to create Sign Up and Login Form for website user. Should I have to create django admin ?
Shihasz
Manish
Admin has all permission to access details created in admin page
Muflone
django admin is an unrestricted tool, every user could do severe damages if you don't customize it
Onur
What about customising the admin for security concerns. Is it necessary?
Manish
But if I want there information to be stored in the Sqlite3 then is it necessary to create admin page?
Muflone
Onur
Muflone
Manish
Manish
Thanks @il_muflone 😀
Shihasz
Nothing wrong with these codes. Problem may be in templates
Onur
Manish
Muflone
Django Admin could be customized but not too much heavily. It could be a way for your users but needs a lot of work. In some cases would be simpler to create a new admin page for your end users (and keep django admin for your advanced jobs)
Onur
Shihasz
!paste Share those HTML pages.. Use
any pasting service
Doragonsureiyā
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
Shihasz
Is there a path named base?
Shihasz
Is this ur base.html file
Shihasz
You are extending base.html.. But didn't include block tags in base.html
Shihasz
You have to declare blocks first. Only then u can override
Anonymous
hey guys i keep getting the error secret key is nont configured in django saleor
Kanchan
Any know how to work with apimedic api in django
Doragonsureiyā
Any know how to work with apimedic api in django
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 56k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
blank_
Please any tell me how to pass context data from one view to another view function
Anonymous
Anonymous
Just import it and call function_name(request, context) in your current view, and better give a default value null
Mohamed
I am trying to create a billing app
This is what I am trying to achieve
Image: https://ibb.co/fFMvqtw
But when I press create row, the call is going as post to view and the data is getting stored. Can you tell what I am doing wrong here or if you any better approach pls tell me.
Code:https://www.ppaste.org/HF8KjVaYc
Anonymous
Anonymous
Each row will have only one media!? If so... Just textfield with the path, if each row, will handle multiple medias, then I suggest the array, but the same, in textfield, u must handle the array in your code, or maybe use th jsonfield
Anonymous
Hey guys i want to learn django from basic level !
Suggest or guide me regarding this
Thankyou
Mohamed
Roman
Hi guys quick quetsions please
Roman
I am using ngix and gunicorn as reverse proxy for django app
Roman
How do I restart the django server after making changes?
Roman
or I need just to make changes in the files and it will work ?
Mohit
Roman
Thanks mate
Roman
So cool
Salohiddin Yoqubov
How to import self model? Not working
`class Section(models.Model):
parentId = models.ForeignKey('self', on_delete=models.CASCADE)`
Roman
Roman
But it's not possible
Roman
You are trying to make as foreign key the same class what you are in
Roman
Like
Roman
I am not sure it's going to work but you should put just Section
Roman
Name of the class
Salohiddin Yoqubov
Name of the class
When I put a section name, it says no such class exists
Mohamed
How can I get data from HTML table and send to Django? I will parse that using Python
Salohiddin Yoqubov
Python (parent category)
—Documentation (child)
—Functions(child)
—Admin(child)
Mirco
Salohiddin Yoqubov
Mohamed
By views
How can I send from template to views? Its not a form , its just a HTML table
Anonymous
Salohiddin Yoqubov
Mohamed
I know I am being noob, can you give me some tutorial
Anonymous
Anonymous
Anonymous
Hey guys ,am new to saleor,I just follow the docs to install saleor but when ever I run the server it takes me to graphql play group only, what should I do
Please help guys
Anonymous
You guys are selfish here
Am out
Mirco
I've always ran saleor via docker by following documentation without any issues
gamer_boy
hi guys, i creating multichoice quiz app so i write this view which redirect to another question if i choose correct answer or else redirect to me on same question but this is not working properly this always redirect to me back to the results.here is my code
gamer_boy
plz help
gamer_boy
https://pastebin.com/wb6hENi1
gamer_boy
WhiteDevil
Hi all - I have developed a full functional python script for some operations related to configuration management. Now I will need build a Web-UI independent of the script.