Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
auto generate model
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
oto iashvili  
View profile  
 More options Sep 10 2012, 9:03 am
From: oto iashvili <optimum.dulo...@laposte.net>
Date: Mon, 10 Sep 2012 06:03:42 -0700 (PDT)
Local: Mon, Sep 10 2012 9:03 am
Subject: auto generate model

Hi,
I have a website in php and I plan to move it to pyramid. I already have a
database with more than hundred tables, so I was wondering if there is in
pyramid a special tool to generate a model.py from an existing database
(like "inspectdb" in django)

thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tonthon  
View profile  
 More options Sep 10 2012, 12:02 pm
From: tonthon <tontho...@gmail.com>
Date: Mon, 10 Sep 2012 18:02:20 +0200
Local: Mon, Sep 10 2012 12:02 pm
Subject: Re: auto generate model
Hi,

guessing you'd like to use sqlalchemy as ORM (you're free to use another
one), there are two methods :

- Using the autoload functionnality (
http://docs.sqlalchemy.org/en/rel_0_7/core/schema.html )
- Generate your model using : http://code.google.com/p/sqlautocode/

I'll hardly suggest the second method which is far more simpler to handle.

Cheers

Gaston TJEBBES
http://www.majerti.fr

Le 10/09/2012 15:03, oto iashvili a crit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oto iashvili  
View profile  
 More options Sep 10 2012, 6:04 pm
From: oto iashvili <optimum.dulo...@laposte.net>
Date: Mon, 10 Sep 2012 15:04:43 -0700 (PDT)
Local: Mon, Sep 10 2012 6:04 pm
Subject: Re: auto generate model

thanks a lot, sqlautocode seems to be perfect.

Le lundi 10 septembre 2012 18:02:28 UTC+2, tonthon a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »