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
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
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
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
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
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
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
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
-
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
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
10 matches
Mail list logo