Code

Opened 3 years ago

Closed 2 years ago

#16233 closed Cleanup/optimization (fixed)

Add definition of db_alias in Performing raw SQL queries

Reported by: charlax Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

It would be useful to give a little remind of what db alias are and that they can be found in the settings file.

I'm referring to section Executing custom SQL directly of https://docs.djangoproject.com/en/dev/topics/db/sql/

Attachments (1)

16233.diff (642 bytes) - added by claudep 2 years ago.
Cross link to multiple databases topic

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from New feature to Cleanup/optimization

Yes, a link to the section of the docs that describe how to configure multi-db would be appropriate.

Changed 2 years ago by claudep

Cross link to multiple databases topic

comment:2 Changed 2 years ago by claudep

  • Has patch set

comment:3 Changed 2 years ago by claudep

  • Resolution set to fixed
  • Status changed from new to closed

In [17872]:

Fixed #16233 -- Added link to multiple databases docs from custom sql alias section. Thanks charlax for the report.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.