On Wed, Feb 25, 2009 at 5:23 PM, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > There isn't a simple 'is_my_database_empty' command that returns > true/false.
Actually, "SELECT COUNT(*) FROM pg_tables WHERE schemaname = 'public'" does pretty well. But Russ is right that this isn't the type of question Django's going to help you answer; I'm just being pedantic here :) Jacob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---