Welcome!
There are many different ways to contribute to Django - the forum,
blogging, translating, documenting, writing code, and more. Our
Contributing Guide can help you get started with many of these:
https://docs.djangoproject.com/en/stable/internals/contributing/
If you’re looking to work wi
+1 to what Carlton said. You can make this function in your project like so:
class Age(Func):
function = "AGE"
A Django wrapper would actually be more complicated. You’d need to
understand both the PostgreSQL and Django function docs, and you might not
be sure Django does anything special bes
In Views.py def car_details(request, id): redirect_to=1
single_car = get_object_or_404(Car, pk=id),
data = { 'single_car': single_car, # 'url': url, }
# reverse('single_car', args=(id))
return render(request, 'cars/car_details.html', data)
In urls.py of my app
urlpatterns = [ path('', vie