I've been playing around with Django for a couple of weeks.

I'm finding myself spending most of my type tinkering with the
Database API to try to wrestle the information I need out of my
database.

At this point it looks to me like I have replaced one set of
incantations (SQL) for another (Database API's query languages).

I must be missing the point coz I'm starting the miss SQL...

For example I want to get all the Users belonging to the "Staff" Group
(User and Group are Django models so it's not like I'm laying out my
models poorly).

Is it:

>>> users = User.objects.filter(groups__contains="Staff") ?

Surely not. It is... darn - Can I just use SQL and be done with it?

Sorry if I'm iconoclasting stuff here.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to