how to modify/customize apps in pinax ecosystem

52 views
Skip to first unread message

Tom Lesters

unread,
Feb 4, 2012, 8:07:58 PM2/4/12
to pinax...@googlegroups.com
hi all,

I have a question about how to make a small change in the apps views.py file
for example , I installed idios app when creating pinax starter projects
it installed idios into python2.6/site-packages/idios dir,

now I need to make a small change, adding the following line(just for purpose of explaining this question)
@login_required
to one of the functions defined in idios/views.py

The way I can think of is I can copy all the source .py files into my project/apps dir, then I can make whatever changes I want,
but seems that's against the principle of using those apps as library.
is there a better way of doing that?
or it's just the nature of any django apps:
if you need to modify anything in the urls.py ,views.py or models.py,
you just grab the source and make is as a local project app?


thanks,
Tom

Reply all
Reply to author
Forward
0 new messages