Hi, No, sorry for not giving more details. What I am asking is once we syncdb the generated scripts (create table). Can we see the method implementation of database access api?
For example: If we have created and deployed a model called Poll (tutorial example in django site) p = Poll.objects.get(pk=1). Can we see the implementation of this get(pk) method? I think these are some objects in the database, just wonder this is possible? thanks On Apr 3, 12:10 pm, Eugenio Minardi <eugenio.mina...@gmail.com> wrote: > Hi, > Do you mean the SQL generated by your model? > > In this case you can use > > python manage.py sql APPNAME > > > > > > > > On Tue, Apr 3, 2012 at 8:45 AM, KasunLak <kasun.lakpriy...@gmail.com> wrote: > > Hi all, > > > I just wonder is there a way to browse/view the code of database api > > methods generated? Is there any tool for this? > > > Thanks in advance, > > Kasun > > > -- > > 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. -- 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.