SJA
Ikr 😅 been sitting stuck on this for a long while now, making very slow progress!
Sometimes it's like that but once you solve it adds to your knowledge
Mirco
StackOverflow will sort you out
It helps you to sort it out if u understand what the help means
Hesen Nivas
What's the cheapest and best platform or way to host a django project? Currently i use Amazon s2 free tier but its limited
Hesen Nivas
Cant docker or kubernetes be used... Am not familiar abt that bt if I can host a project in that... I might learn it
Mirco
Put for outside alert
Mirco
What's your goal ?
Anonymous
run the script and show the messages
Mirco
Ok so u can use other cool thing instead of alert() to show messages Anyway if u have more messages loop them and pass every message to the "notification" element
Corteis
Somebody can help me !! I am having probl3ms with urls
Mirco
Somebody can help me !! I am having probl3ms with urls
Share the code and explain your problem
Mirco
Please use pastebin or similar
Mirco
Do you have learning_logs app ? With its urls.py ?
licensed
you put this app on INSTALLED_APPS?
Mirco
It's learning_logs.urls not .url
Mirco
Thanks!!!
Yw 😁
Corteis
Yw 😁
It was a simple think😂
George
Because Debug=True
George
If you set debug=False you wouldnt see it 😂
Corteis
George
Maybe setting some kind of url and view and template and stuff
Ghorz
You added a URL pattern with adding index URL. Once you edit the URL, the default django landing page will be lost.
Corteis
Sorry!! I am starting with django
Ghorz
So how i can solve this?
Create an index view then add it to the url
Ghorz
So how i can solve this?
Check this repo to see how I organized views and URLs https://github.com/mymi14s/Django-Project-Starter-Template
Mirco
So how i can solve this?
Yep, u just need a path to /
Ghorz
The version doesnt matter
cj
wrap it with quotes "
REDrms
Check the log file and when you find the error....copy and paste in Google
Which log files should I be checking? Can u help me by directing me to them
REDrms
I've been stuck with this project at deploymemt for 3 weeks now, making very slow progress, I'm so desperate now 😭
Anonymous
So guys I'm new to Django. How can I have different levels of users. For example supper admin,admin and normal users
Ghorz
Log to admin, navigate to users, click on a user and give permission
Anonymous
Log to admin, navigate to users, click on a user and give permission
What if I want people to register themselves as either owner ,admin or as normal user
Ghorz
Define a save methon In your register/signup view,
Ghorz
Method*
Rajab
Hello guys! I can not upload a file with the django-admin panel on the host
Corteis
Somebody have django documentation 2.1 in pdf?
Islom
Somebody have django documentation 2.1 in pdf?
https://media.readthedocs.org/pdf/django/2.1.x/django.pdf
Islom
Or you just can try Zealdocs.org , it is like offline documentation
Islom
Thanks!!
👍👍👍
Corteis
what is the best version of the django??
Mirco
what is the best version of the django??
Every latest ones ( they should have bug fixing/new features )
Corteis
sameone can explain to me how create a simple template!! basic code!!!
Mirco
sameone can explain to me how create a simple template!! basic code!!!
On official docs you can find everything u need
Islom
You should work with your views
Islom
You don't call the HTML Template, instead of it you call the view function
Islom
Just go through the documentation
Rajab
Send Screen urls.py
Corteis
i found the error !!!
Anonymous
is anyone know how to split string with "." in template html file
Brian
hey guys
Mirco
hey guys
hi :))
Brian
How many of you work with barcodes? Do you save them in the database?
inchidi
How many of you work with barcodes? Do you save them in the database?
barcode scanned to numbers, that numbers are things i store not the barcode image
inchidi
consider using qrcode than barcode if that possible btw
Brian
consider using qrcode than barcode if that possible btw
Seems like this decision has been made.. Here's what I'm trying to achieve. I want to automate the process of bar code printing on my django site. One just clicks on a button and a html renders the bar codes. Since they're consistent, I'm thinking of uploading generated qr codes to S3 then access them like images with a URL.. I'm not sure about saving them
Brian
I'll also generate new barcodes on the fly
Code9
and return the HttpResponse object as a PNG
Brian
and return the HttpResponse object as a PNG
Thanks a lot.. Let me try this
Павел
https://ccbv.co.uk/projects/Django/2.1/django.views.generic.edit/CreateView/#post can anyone explain me, which 'post' functions would work if we not define this fun in our class?
Павел
or both?