> Of course, you can change the files on their original source without
> copying them to your own project but then you risk to loose the
> changes on an Pinax update or whatever.
>
> Hope this helps,
This is definitely helpful. I am still getting my bearing with the
layout of pinax and how the workflow is supposed to work. I was
indeed modifying the files in place. I would actually like to know
how I can onload most if not all of everything to my project_dir so
that I can just make changes and complete overhauls there but continue
to upgrade pinax without worry of it interfering with my existing
hacks. Unfortunately,
(pinax-env)skylar@ABC255:~/pinax$ pinax-admin clone_project
social_project mycogia
Copying your project to its new location
Updating settings.py for your new project
Renaming and updating your deployment files
Finished cloning your project, now you may enjoy Pinax!
(pinax-env)skylar@ABC255:~/pinax$ cp -r pinax-env/src/pinax/pinax/apps/
authsub mycogia/apps/authsub
(pinax-env)skylar@ABC255:~/pinax$ ls mycogia/apps/authsub/
__init__.py models.py urls.py views.py
(pinax-env)skylar@ABC255:~/pinax$ vim mycogia/apps/authsub/views.py
(pinax-env)skylar@ABC255:~/pinax$ cp -r pinax-env/src/pinax/pinax/
projects/social_project/apps/friends_app/ mycogia/apps/
(pinax-env)skylar@ABC255:~/pinax$ ls mycogia/apps/friends_app/
context_processors.py forms.py __init__.py models.py urls.py
views.py
(pinax-env)skylar@ABC255:~/pinax$ cp pinax-env/lib/python2.6/site-
packages/friends/importer.py mycogia/apps/friends_app/
(pinax-env)skylar@ABC255:~/pinax$ ls mycogia/apps/friends_app/
context_processors.py forms.py importer.py __init__.py models.py
urls.py views.py
(pinax-env)skylar@ABC255:~/pinax$ vim mycogia/apps/friends_app/
importer.py
(pinax-env)skylar@ABC255:~/pinax$ cd mycogia/
(pinax-env)skylar@ABC255:~/pinax/mycogia$ ./manage.py syncdb
/home/skylar/pinax/pinax-env/lib/python2.6/site-packages/friends/
models.py:3: DeprecationWarning: the sha module is deprecated; use the
hashlib module instead
import sha
Creating table auth_permission
...
...
Installing index for admin.LogEntry model
Installing index for django_openid.UserOpenidAssociation model
Installing json fixture 'initial_data' from '/home/skylar/pinax/pinax-
env/lib/python2.6/site-packages/oembed/fixtures'.
Installing json fixture 'initial_data' from '/home/skylar/pinax/
mycogia/apps/photos/fixtures'.
Installed 18 object(s) from 2 fixture(s)
(pinax-env)skylar@ABC255:~/pinax/mycogia$ ./manage.py runserver
/home/skylar/pinax/pinax-env/lib/python2.6/site-packages/friends/
models.py:3: DeprecationWarning: the sha module is deprecated; use the
hashlib module instead
import sha
/home/skylar/pinax/pinax-env/lib/python2.6/site-packages/friends/
models.py:3: DeprecationWarning: the sha module is deprecated; use the
hashlib module instead
import sha
Validating models...
0 errors found
Django version 1.0.2 final, using settings 'mycogia.settings'
Development server is running at
http://127.0.0.1:8000/
Quit the server with CONTROL-C.
/home/skylar/pinax/pinax-env/lib/python2.6/site-packages/
ybrowserauth.py:16: DeprecationWarning: the md5 module is deprecated;
use hashlib instead
import md5
[31/May/2009 04:16:22] "GET / HTTP/1.1" 200 4238
[31/May/2009 04:16:22] "GET /site_media/base.css HTTP/1.1" 304 0
[31/May/2009 04:16:22] "GET /site_media/pinax/css/tabs.css HTTP/1.1"
304 0
...
...
[31/May/2009 04:16:41] "GET /site_media/pinax/images/heading.png HTTP/
1.1" 304 0
[31/May/2009 04:16:41] "GET /site_media/pinax/js/uni-form.jquery.js
HTTP/1.1" 304 0
[31/May/2009 04:16:41] "GET /site_media/base.js HTTP/1.1" 304 0
/home/skylar/pinax/pinax-env/lib/python2.6/site-packages/djangodblog/
middleware.py:26: DeprecationWarning: BaseException.message has been
deprecated as of Python 2.6
message = getattr(exception, 'message', ''),
[31/May/2009 04:16:43] "POST /invitations/contacts/ HTTP/1.1" 500
94245
``NonAuthSubToken at /invitations/contacts/``
The edited methods can be found here:
http://dpaste.com/49644/
Please tell me how my actions have differed from what you have done
that works.