NC
How can I make Django admin filter collapsible
Anders (izzno / gooood) 🇳🇴
Is it new in django 3.0 not to use the project root in a python path?
If your project name was "homepage" then you used to refer to a model as "homepage.appname.models" but now all I need is "appname.models".
Govind
Hi,
How can I make Carousel in django?
I'm new to django.
Please help me
ℕo ℕame
Govind
Carousel slider
Govind
Image slider
Govind
I'm not able to make it dynamic.
Govind
Govind
Deepti
Hello everyone,i want to ask if anyone is interested for helping me in my final year industrial project☺ i want someone who join me as a team in project.
Vorke
Deepti
I'm working on a project frontend is almost completed i want help in backend (for backend i'm using django nd sqlite3 database
Alex
Hi guys! Which package do you recommend for build a ecommerce website on django, like django-oscar, or whatever? Or you recommend doing from scratch?
Mirco
cj
Image slider
that's front-end thing, not related to django itself
Govind
I'm making a website using django.
netCode
cj
Govind
Shubham
Hi guys,
I need little help with regards to create and update.
So i have a signup page (say signup2) which has M2m relationship with user.
Who whenever a new user comes to singup2 he enters all the data. Now i want to do is if that data is already present than I don't want to create a new record in singup2 but just want to update m2m user field, so it will have previous user and the new user as well. Any idea on how to implement this??
Gil
Manik
Multidatabase routing in django?
Anders (izzno / gooood) 🇳🇴
I am trying to build out a simple api with DRF and JWT auth but I am struggling to find good documentation. It's a bit house on fire atm. Am I missing something? For me it seems faster to punch this out manually rather than use Django, DRF, simplejwt, djoser... The tools are all there but putting them together is about as dificult as writing your own ?
Arnak
https://www.django-rest-framework.org/#quickstart
Anders (izzno / gooood) 🇳🇴
The "problem" i see is when I need jwt, I also need a lot of support libraries and code escalates... When I need to rewrite most views anyway then django is not so tempting.
Anders (izzno / gooood) 🇳🇴
sorry, DRF i mean.
Anders (izzno / gooood) 🇳🇴
or cookiecutter ;)
Berat
anyone used supervisord
Berat
with docker-compose and django
Doragonsureiyā
anyone used supervisord
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
Dexter
How can one convert or approach php to django
Dexter
Ok
Shubham
Anonymous
How to create a mail server
Doragonsureiyā
How to create a mail server
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box write down the same words you asked here
Step 4: Read the firsts results
Manik
Phillip
Hey guys, I would like to create a multisite in django, with each site sharing one code base but they are on different domains/subdomain while still in the local machine
Anyhelp?
Phillip
Thank you
Ninja
Can someone give django course or content pdf
Satyakam
Phillip
I also saw this somewhere
https://medium.com/crowdbotics/how-to-use-dynamic-subdomains-in-django-dc1cb2cac00b
Anonymous
Can help me with noreversematch in django?
Anonymous
I ask on stackoverflow
Anonymous
https://stackoverflow.com/questions/60687362/how-to-fix-noreversematch-reverse-for-porumbei-not-found-porumbei-is-not-a
Gil
are you in debug mode True?
Anonymous
Yes, it is in development
Gil
first confirm that the name is ok, can you see you url and name in debug page, if you enter wrong url lik 127.0.0.1:8000/jidsajdi
Anonymous
The url is that i want
Gil
Is inside the list, and name is correct? :
Using the URLconf defined in xxxx.urls, Django tried these URL patterns, in this order:
-
-
-
Anonymous
Yes, my urlpatterns are:
Path('porumbei/editare/<int:pk>/', porumbei.views.editareporumbei, name='editareporumbei')
Anonymous
And in browser 127.0.0.1:8000/porumbei/editare/1/
Gil
put in browser 127.0.0.1:8000/joifjaeiofeaij
and check if all is correct in list:
1. url [name=reversename]
2.[...] [...]
We are not cheking the code, we are cheking if django is processing all
Anonymous
It get me 404
Anonymous
Didn't match any of these
Gil
Ok well, but you find your URL in list ? ( and their name)
Gil
Like this image... https://i.stack.imgur.com/O1PB1.png
Anonymous
Yes, it is in the list
Anonymous
https://imgur.com/HHWQgG0
Gil
Is strange, I don't undertant why is saying porumbei is not a valid.... you haven't any name="porumbei"
Gil
maybe if you paste more text from error page?
Anonymous
https://imgur.com/wREMAGa
Anonymous
All my urls
Anonymous
https://imgur.com/dOMxnBF
Anonymous
The error page
Gil
The code that you paste in template, is asking for editareporumbei.
Django is sayng porumbei reverse doesn't exist.
maybe your are asking for a name that don't exist in other place of the templte?
base.html, can you search for porumbei ?
Anonymous
I have a page for listing all objects porumbei
Anonymous
And in that table wich show porumbei I have a button for editing porumbei
Anonymous
That button has the link bellow
Anonymous
<a href="{% url 'editareporumbei' item.id_porumbel %}" class="btn btn-sm btn-icon btn-secondary"><i class="fa fa-pencil-alt"></i> <span class="sr-only">Editare</span></a>
Anonymous
I think here is the problem