Next Meeting - Wednesday Feb 17

1 view
Skip to first unread message

Adam Lowry

unread,
Feb 8, 2010, 5:36:33 PM2/8/10
to pdxd...@googlegroups.com
Hey all!

Despite missing December and January, February's PDX Django meeting looks like a great one. We have one short and one long talk scheduled -- if you'd like to do a 5 minute or so talk on a tool, problem, or feature, why not let us know?

It's also the day before PyCon starts, so we might just chat about what looks interesting there.

The talks:

- Dermot Maty on a problem he had with Proxy Models, and how he solved it

- Michael Richardson will be previewing a talk he's giving at DjangoSki. Here's the summary from their talks page:

"Michael is a cofounder at Urban Airship where he spends his day working on a RESTful API to deliver notifications and in-app content to mobile devices. His talk, "RESTful APIs with Django and Piston," pulls from Urban Airship's experience and goes through creating an API in Django with Piston along with pitfalls you may experience along the way.

Michael was also the developer behind the massive Django-powered meat conglomerate bacn.com until it was sold earlier this year. Bac'n did not, sadly, have an API."

The meeting will be at 7pm at PIE, 1227 NW Davis St (directly opposite the North Face store -- look for the big brown armchairs in the window.

Adam

Adam Lowry

unread,
Feb 8, 2010, 5:42:15 PM2/8/10
to pdxd...@googlegroups.com
Here's a calagator URL to pass around:

http://calagator.org/events/1250458296

And Michael informed me that his talk will be around ~30 minutes, so another 5-15 minute talk would be just about perfect!

Adam

TenBridges.Com

unread,
Mar 5, 2010, 11:29:10 AM3/5/10
to pdxd...@googlegroups.com
Just a quick update on Proxy Models.


It turns out that if you give the app_label property the SAME name as the underlying app that your proxies are using  and you run a syncdb then the appropriate structure appears in ContentType and permissions are created in AUTH.   You can then assign them to groups or individuals and they will work fine.

So if I have an app called doughnuts with a model called Doughnuts you can create as many Proxy Models of Doughnuts as you like and if you declare
app_label= "doughnuts" in the Proxy Meta section  then your permissions for staff users work just fine.

The issue of denied permissions still exists if you use a custom app_label (i.e. app_label="my doughnuts")


Reply all
Reply to author
Forward
0 new messages