Hi!
While reading* Getting Started on Heroku with Python 
<https://devcenter.heroku.com/articles/getting-started-with-python#provision-a-database>
 
(Provision a database)*, they are talking about *DATABASE_URL* as if it was 
something which is implemented in Django by default.
As far as I know the *DATABASE_URL *is some kind of alias to access the 
*default 
*of *DATABASES *(?). 

However I don't find any documentation about it.
When I search for *site:djangoproject.com "database_url"* 
<https://duckduckgo.com/?q=site%3Adjangoproject.com+%22database_url%22&t=h_&ia=web>*,
 
*I mostly find forum posts discussing issues where DATABASE_URL is included.
I found ticket #28236 <https://code.djangoproject.com/ticket/28236> which 
suggests integrating dj-database-url into Django, which talks about the 
"DATABASE_URL environment variable".
The ticket is not solved after five years.

As you see, I am quite confused what *DATABASE_URL* actually is, since it 
seems considered common sense (or at least common use).
And therefore I'd suggest to mention it somewhere in the Django Docs.
Does it make sense?

I've expected to find it somewhere in the settings reference 
<https://docs.djangoproject.com/en/4.0/ref/settings/>.

Kind regards,
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/3b05c53f-b3a6-4220-aa84-182cd5cea97bn%40googlegroups.com.
  • DAT... Sam
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to