Opened 3 years ago

Closed 3 years ago

#33103 closed Cleanup/optimization (invalid)

I want to get the SQL through the model

Reported by: Tuffy Owned by: nobody
Component: Database layer (models, ORM) Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I have a Student Model:

class Student(models.Model):
        stu_name = models.CharField(max_length=6, unique=True)

In the views, I want the SQL to create the student table in the database.

Change History (2)

comment:4 by Tim Graham, 3 years ago

Resolution: invalid

See TicketClosingReasons/UseSupportChannels for ways to get help with Django usage.

comment:5 by Mariusz Felisiak, 3 years ago

Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top