Quantcast
Channel: Qwait's Blog » Python
Browsing latest articles
Browse All 5 View Live

Dealing with a user’s assets.

With everyone building social sites I find it funny that no python framework seems handle user profiles very well. Normally the code would written as followed: __init__.py...

View Article



Apex’s AuthUser get_profile() problem

After reviewing apex’s code I noticed a flaw in its models. The AuthUser model has a function named get_profile, similar to Django’s auth get_profile, this function returns a user’s profile. This...

View Article

Raja, an Apex Scaffold

Raja is a pyramid scaffold that uses Routes, SQLAlchemy, Jinja, and Apex. The project layout might be a bit different than what you are used to, but I find this layout to be easy to use, and very...

View Article

Pyramid top level route issue

I found this issue when I was developing an application that needed to use top level urls. __init__.py config.add_route('profile_view', '/:id') views.py @view_config(route_name='profile_view',...

View Article

New Relic and Pyramid

While developing an application we decided to try New Relic, this is how we implemented their agent into pyramid. import newrelic.agent newrelic.agent.initialize('path/to/newrelic.ini', 'development')...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images