An idea for a serialization framework

2010-06-23 Thread Andy Kelley
I am coming up with a framework that helps serialization of models. My idea is for each field to have a view permissions level: PUBLIC, OWNER, or ADMIN. I want to have a model to dict function that takes 2 arguments, permission_level and serialize_chain. Firstly, let me explain how it would change

Re: An idea for a serialization framework

2010-06-23 Thread Andy Kelley
God damn it, the most dangerous thing about Dvorak is hitting tab instead of or along with apostrophe. "don't " translates into "don'" Anyways, I think this idea has merit - even alongside a role-based security system. Feedback? On Jun 23, 3:29 am, Andy Kelley

Re: An idea for a serialization framework

2010-06-23 Thread Andy Kelley
I posted this to django-developers instead, so if you want to reply go find that thread and do it there. On Jun 23, 3:33 am, Andy Kelley wrote: > God damn it, the most dangerous thing about Dvorak is hitting tab > instead of or along with apostrophe. "don't " t

What architecture do you use for media?

2010-05-19 Thread Andy Kelley
I'm doing the first website where I need it to scale and want to host the media on a different server than the one with the django code. I'm going to have a lot of users uploading files ranging in 10 KB to 20 MB in size. I estimate that the average user will upload 20 MB per week. I have several qu

Re: Django + Ajax + Jquery

2010-06-06 Thread Andy Kelley
I'll go ahead and insert a plug here: http://github.com/superjoe30/jst-parser On Jun 6, 12:14 am, tazimk wrote: > Hi, > >     I want to use ajax in my templates using jquery. >     Can someone provide me some sample examples /links related to > this. >     Also some sample examples on using Jque

Re: Latest wisdom on 'small migrations'

2010-06-06 Thread Andy Kelley
Use south. The overhead is worth it. On Jun 5, 12:57 pm, Dave E wrote: > ah. forgot about the plain text in Google Groups... apologies. Again, > in English: > > Given that Syncdb won't ever issue an alter table command ('no such > column'), that Schema Evolution is still in debate, that South is