vaseem cholakkan
order.sellers_orders.filter(...) is enough
Максим
Priencess
I need help django project how to create pannel report home page with table use of html css
Doragonsureiyā
S#₹@V@n
I want to upload URL data in the S3 bucket?
S#₹@V@n
Mirco
Tim
Hi all! Guys, a question on django. A regular blog where you can register as a user and add articles. Is it possible to make such functionality so that the articles do not immediately go to the blog, but to the moderation of the superuser?
vaseem cholakkan
Tim
Toto Syrax
I just entered to admin page of Django
And its not stylished and looking weird.
Solution?
Mirco
Toto Syrax
Mirco
Mirco
Toto Syrax
M. Hossein
Imagine we are creating a youtube clone with Django. For creating various apps people follow different approaches. For example some people create videos app, channels app, users app and etc. but videos and channels are dependent to each other.
Some people do disagree with this approach since they say each app in Django must be independent to another app and in this example channels app and videos app should be merged to one app.
What do you think is the right approach?
Devanand
Does anyone knows about openlitespeed.creating virtual host in openlitespeed.and hosting django using openlitespeed?
Uzumaki
Hi can some one give me roadmap for django as i am stucked in my previous courses
Uzumaki
By road map i mean any course link on udwmy or youtube as it will be easy for me to study from there
KingFx
M. Hossein
Muflone
What should do to slove it
Static files, it's a well known argument often misunderstood from newcomers
See also #static messages in this group
Владислав
Yes i understand Django, but i can not understand how nginx catches request
Muflone
Владислав
Владислав
i think its question more about nginx in general not about django
Muflone
handle static files
nginx is a web server, it's used to serve the files which are not handled by python
Muflone
Images, css, js
They are not related to Django / Python at all
So nginx will serve them, without even passing them to Django
#static
Владислав
i will deploy my educational blog project soon, so i will need this understanding, but now i going through ImageField to allow user upload photo with posts
Muflone
Also media files will need to be served from a webserver, if they are not to be protected from leeching
Владислав
Thanks, I think this is easier to do than explain
Muflone
Yes, It is
EFK$$$
Please who knows how to connect MySQL into django in CPANEL
host, port
Franco
hello ! How are you? I have a question. I am creating a search view which will perform a search only by ID. If the ID exists, it proceeds to redirect to x view with the id until there, everything is fine. The question is how do I pass the ID to another form that is the registration form?
Franco
def search(request):
if request.method == 'POST':
form = SearchForm(request.POST)
if form.is_valid():
dni = form.cleaned_data['dni']
first_name = form.cleaned_data['first_name']
last_name = form.cleaned_data['last_name']
try:
person = Person.objects.get(dni=dni)
return redirect('access_visitors', person_id=person.id)
except Person.DoesNotExist:
return redirect('add-person')
else:
form = SearchForm()
return render(request, 'search.html', {'form': form})
Franco
other form to add_person is :
def add_person(request):
if request.method == 'POST':
dni = request.POST['dni']
person = Person.objects.filter(dni=dni).first()
if person:
return redirect('access_list', person.id)
form = PersonForm(request.POST)
if form.is_valid():
form.save()
return redirect('visitors') # Redirige a la lista de visitantes después de guardar
else:
form = PersonForm()
return render(request, 'person_form.html', {'form': form})
Km
Toto Syrax
It still not stylished
J
👋🏻 everyone
I m trying to use a work flow in my app i tried to use joflow and viewflow but didn’t work for me .do you have any solution for using workflows?
Thanks 🙏🏻
AbiduSage
Hello friends
I wanted to add more fields to the register page with Django. For example a field for address, phone, photo. help me friends
Sanitizer
Shailender
AbiduSage
Add them in the model and the template
I had created a forms.py and this is where I had added two email and password confirmation fields using UseCreationForm but when I wanted to add other fields I got errors
Priencess
Hellow every one I am new in django
1 how to creat pannel report use of html and style .css
2 how to creat tables
Priencess
And panel buttons
Faraz
Anonymous
I want to make a profile page for my blog site from where users can update their info so is there any tutorial or website to learn this?
Vxvek
Is there any library for django for building tenant isolated dynamic db approach
M. Hossein
Владислав
Ravi
https://github.com/markusressel/barcode-server
Can anyone guide me how can i ise this barcode python package i am having barcode scanner device with me
Maxim
Anonymous
min
How to run a Django celery task every minute from 10PM to 10AM?
Is it possible do it without validation inside the code?
Krushna
Doragonsureiyā
I want to implement in Django
Your question is not related to Django.
If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Bhavi
Class test_model() :
Tool_attributes =jsonfield.JSONField()
Sample data present in the field:
Tool_attributes= [{"vendor":"vendor1", "domain":" Domain1”}]
How to search the domain with value dom
I am using django 2.0.8 version and mysql db.
Bhavi
Can anyone help out for above query
Vaibhav
Rupesh
"I'm working on a Django API that should send an HTML template with JSON data to email. I am able to pass the HTML design, but I am facing difficulty passing the JSON. Can anyone please help me with this?"
Hildemaro
Any Django template language for recommendation?
Hildemaro
{% xxx %}
Charly
Hildemaro
How does this template language work?
Maxim
Hildemaro