Re: When to use admin, and when not to.

2009-05-27 Thread Sam Kuper
2009/5/27 Andy Mikhailenko > > User behaviour can be formalized as actions + objects. Some actions > span multiple objects. > Admin is a great tool that corresponds the *structure* of data. It > allows to view and edit all your base for great justice. Err, all your > database for zero cost. Out of

Re: When to use admin, and when not to.

2009-05-26 Thread Sam Kuper
Thanks so much for the comprehensive reply! All best, Sam 2009/5/26 Sieker Adi Jörg > > On 26.05.2009, at 14:28, Sam Kuper wrote: > > > 2009/5/26 Sieker Adi Jörg > > In my humble opinion. As soon as you mention users, the admin is the > > wrong tool. > > con

Re: When to use admin, and when not to.

2009-05-26 Thread Sam Kuper
2009/5/26 Sieker Adi Jörg > In my humble opinion. As soon as you mention users, the admin is the > wrong tool. > contrib.admin is for admin's and not for users. > > Another take on it is: > - Anyone that creates an account on your site, doesn't get to ses the > admin > - Anyone that you create an

Re: When to use admin, and when not to.

2009-05-26 Thread Sam Kuper
2009/5/26 Alex Gaynor > It's not even an authorisation issue, it's that I'd be overiding nearly > every method to make sure the behavior was what I wanted, and then I'd > replace all the templates since I want everything the user sees to be > similarly themed, and at this point I've already rewri

Re: Pass result of a template filter to tag

2009-05-26 Thread Sam Kuper
2009/5/26 Bojan Mihelac > is there a way to pass result of a template filter to some tag for > further processing? > > {% some_tag content|textile %} > > The best I came so far is something like: > > {% textile content as content2 %} > {% some_tag content2 %} > > With this textile, or any other f

Re: When to use admin, and when not to.

2009-05-25 Thread Sam Kuper
2009/5/26 Alex Gaynor > On Mon, May 25, 2009 at 7:51 PM, Sam Kuper > wrote: > >> Suppose you were re-writing Facebook in Django. >> >> Would you handle the complex profile and privacy settings pages by: >> >> A) exposing the relevant admin pages to users,

When to use admin, and when not to.

2009-05-25 Thread Sam Kuper
Suppose you were re-writing Facebook in Django. Would you handle the complex profile and privacy settings pages by: A) exposing the relevant admin pages to users, with careful auth to stop users from being able to access admin pages they shouldn't be able to. Obviously this would require much cus

Re: Revisit Django trunk and Python 2.6

2009-05-24 Thread Sam Kuper
If you need to use mysqldb, you may have problems. At least, I ran into snags last time I tried to use Django trunk with mysqldb and Python 2.6, and dropped back to 2.5.x --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: django captcha

2009-05-20 Thread Sam Kuper
2009/5/21 online > Could anyone please recommend a open source library captcha working > fine with django? Personally, I'm a fan of ReCAPTCHA, but it may not be quite what you're after. > http://code.google.com/p/django-simple-captcha/ looks but i just > cannot find where to download. You

Re: Installing django

2009-05-20 Thread Sam Kuper
2009/5/19 LeonTheCleaner > I am trying to install django by using this: > > http://wiki.dreamhost.com/Django > > but there are a few things I don't understand. > > 1. Where am I supposed to run stuff like these: > > export PATH=$PATH:$HOME/django_src/django/bin > export PYTHONPATH=$PYTHONPATH:$HO

Fwd: Best Django host

2009-05-20 Thread Sam Kuper
2009/5/20 LeonTheCleaner : > I currently use dreamhost, but the installation process is very slow. > Is it me or this process is overly complicated? All I want is to > install an already written django project but to do that it's like I > have to write the app myself. If you've already paid in ad

Re: Integer Max/Min Values

2009-05-16 Thread Sam Kuper
2009/5/17 sampablokuper > I've been encountering the same problem. It's especially frustrating > because it seems model validation used to be much easier in Django > (see > http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-django-admin-page/ > ). > [...] > > Are the Django