Re: Django or Pylons - comparison details

2008-12-09 Thread cropr
I choose Pylons and not Django for 2 specific reasons - Mako SQLAlchemy are far superior than the templating engine and ORM of Django. - Pylons is full WSGi from the ground up. It Django WSGI smells like Object Orientation is pasted into Perl One item I really liked about Django that is not

Re: Django or Pylons - comparison details

2008-12-09 Thread Noah Gift
On Tue, Dec 9, 2008 at 11:33 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously cropr wrote: I don't use FormEncode. It is based on a very common design mistake made by a lot of programmers, who think one can better generate html from code. When a graphical artist designs the

Re: Django or Pylons - comparison details

2008-12-09 Thread Wichert Akkerman
Previously cropr wrote: I don't use FormEncode. It is based on a very common design mistake made by a lot of programmers, who think one can better generate html from code. When a graphical artist designs the layout of a web page, he uses tools who speak html, css and javascript, but no

Re: Django or Pylons - comparison details

2008-12-09 Thread Ian Bicking
Wichert Akkerman wrote: Previously cropr wrote: I don't use FormEncode. It is based on a very common design mistake made by a lot of programmers, who think one can better generate html from code. When a graphical artist designs the layout of a web page, he uses tools who speak html, css

Re: Django or Pylons - comparison details

2008-12-09 Thread Mike Orr
On Tue, Dec 9, 2008 at 2:36 AM, Noah Gift [EMAIL PROTECTED] wrote: On Tue, Dec 9, 2008 at 11:33 PM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously cropr wrote: I don't use FormEncode. It is based on a very common design mistake made by a lot of programmers, who think one can

Problem with Authkit 0.4.2 and Pylons 0.9.7rc4 on Apache2 and mod_wsgi 2.3

2008-12-09 Thread Tomasz Narloch
My admin controller: [...] class AdministratorController(BaseController): @authorize(h.auth.is_valid_user) def index(self): return render('/admin/index.mako') def signout(self): return redirect_to(controller='administrator', action='index') #end On development

Re: Problem with Authkit 0.4.2 and Pylons 0.9.7rc4 on Apache2 and mod_wsgi 2.3

2008-12-09 Thread Dalius Dobravolskas
Hello, Tomasz, I see several problems. On development version: paster serve --reload development.ini all work good but when I go to page by apache2 I get error: ... [Wed Dec 10 05:38:44 2008] [error] [client [...]] mod_wsgi (pid=8169): Exception occurred processing WSGI script

Re: Problems with AuthKit (was: Django or Pylons - comparison details)

2008-12-09 Thread Dalius Dobravolskas
Hello, Raoul, These are the things I wanted in my auth+auth system: - Customisable table names - Users, Roles and Permissions - Hide/show menu items pulled from the DB, based on permissions - Enable/disable links, based on permissions - Hide/show sections of pages, based on permissions -

Re: Problem with Authkit 0.4.2 and Pylons 0.9.7rc4 on Apache2 and mod_wsgi 2.3

2008-12-09 Thread Tomasz Narloch
Dalius Dobravolskas pisze: Hello, Tomasz, I see several problems. On development version: paster serve --reload development.ini all work good but when I go to page by apache2 I get error: ... [Wed Dec 10 05:38:44 2008] [error] [client [...]] mod_wsgi (pid=8169): Exception occurred

Re: Problem with Authkit 0.4.2 and Pylons 0.9.7rc4 on Apache2 and mod_wsgi 2.3

2008-12-09 Thread Dalius Dobravolskas
Hello, again, Result: Instead Apache 404 error now I get pylons 404 error on page. The same error exist in logs. OK. Now error is handled by ErrorHandler (Pylons). Much better. Define email in deployment.ini it will send backtrace to your e-mail on 404 error. While Apache error log should