On Thu, May 28, 2009 at 1:24 PM, sandwich <sandwich0...@gmail.com> wrote:

>
> I wanna control the number of a table in Mysql using Django.
> It seems that we can limit the max_row of a table in Mysql using the
> table_options when creating a table.
> Does Django have those options for us to control the setting of the
> table?
> please help me to solve the problem.
>
> >
>
Take a look at:
http://docs.djangoproject.com/en/dev/ref/databases/?from=olddocs#creating-your-tableswhich
describes how you can setup some custom SQL to run when the tables are
created.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to