#2013: [PATCH] Add an (example) database bootstrap command to commands.py in
quickstart template
----------------------------------+-----------------------------------------
 Reporter:  Chris Arndt           |       Owner:  Chris Arndt                   
     
     Type:  enhancement           |      Status:  new                           
     
 Priority:  normal                |   Milestone:  1.1                           
     
Component:  Quickstart Templates  |     Version:  1.1 HEAD                      
     
 Severity:  normal                |    Keywords:  quickstart, bootstrap, needs 
review
----------------------------------+-----------------------------------------
 I have written an example command.py that provides a "bootstrap" function
 for a console script "bootstrap-<yourpkg>", which creates all tables and
 optionally creates a user.

     http://paste.turbogears.org/paste/10038

 The example is SQLAlchemy, but I have also written a patch against current
 TG 1.1 HEAD that adds support for this in commands.py in the default
 quickstart template and which also works for SQLObject-based projects.

 Would this be something that should be added to the default quickstart
 template or will this make the code in commands.py too complex?

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2013>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to