Hi,

You can have a look in the book "Pro Django" from Marty Alchin.

For example: p.46 "How Django Processes Model classes"...

It seems we are following parallel tracks...

Hope it helps...

Michel

On Aug 9, 3:48 pm, sjtirtha <sjtir...@gmail.com> wrote:
> Hi Joshua,
>
> thank you for your response.
> It means the statement:
>
> "With that, you've got a free, and rich, *Python
> API*<http://docs.djangoproject.com/en/dev/topics/db/queries/#topics-db-que...>to
> access your data. The API is created on the fly, no code generation"
>
> inhttp://docs.djangoproject.com/en/dev/intro/overview/, does not mean that
> django generate the code on the fly, but it has a generic API
> implementation.
>
> However, I'm more interessted, how manage.py generate the SQL, setting.py,
> etc.
> Does django ever able to generate code skeleton like Rails does?
>
> Regards,
>
> Steve
> On Sun, Aug 9, 2009 at 3:09 PM, Joshua Partogi 
> <joshua.part...@gmail.com>wrote:
>
> > Python Metaclass is the keyword.
>
> > On Sun, Aug 9, 2009 at 10:59 PM, sjtirtha <sjtir...@gmail.com> wrote:
>
> >> And it is also mentioned in
> >>http://docs.djangoproject.com/en/dev/intro/overview/
> >> That Django generates the Model API on the fly. How can we generate code
> >> on the fly in python?
>
> >> steve
>
> >> On Sun, Aug 9, 2009 at 2:56 PM, sjtirtha <sjtir...@gmail.com> wrote:
>
> >>> Hi,
>
> >>> does anybody now, how django generates the code?
> >>> Is it documented some where? I read somewhere that Django uses Cheetah to
> >>> generate code. But in other website, Guido compares Django template and
> >>> cheetah.
>
> >>> Regards,
> >>> Steve
>
> > --
> >http://blog.scrum8.com
> >http://twitter.com/scrum8
--~--~---------~--~----~------------~-------~--~----~
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