Code

Opened 6 years ago

Closed 6 years ago

#6685 closed (duplicate)

Skipping Installing custom SQL for table name 'languages'

Reported by: subsume Owned by: nobody
Component: Core (Management commands) Version: master
Severity: Keywords: syncdb sql
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Strangely, a model named 'languages' will create a table as expected. However, content in app/sql/languages.sql will simply be ignored.

python manage.py sqlall app will also disinclude the insertions for the table.

I saw no errors. Renaming table to 'lang' worked fine.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by subsume <subsume@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by Simon Greenhill

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

I suspect you have another package called "languages" installed somewhere? There are a few bugs due to name clashes like this - and there's a ticket somewhere (I've lost the number!) to help resolve this.

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.