#33103: I want to get the SQL through the model -------------------------------------+------------------------------------- Reporter: tufbel | Owner: nobody Type: | Status: new Cleanup/optimization | Component: Database | Version: 3.2 layer (models, ORM) | Severity: Normal | Keywords: Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- 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. -- Ticket URL: <https://code.djangoproject.com/ticket/33103> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.00ed562dda0cd80e3206ef86f4709bf0%40djangoproject.com.