Developing / making changes to python files

50 views
Skip to first unread message

beefybailey

unread,
May 28, 2012, 11:38:57 AM5/28/12
to djang...@googlegroups.com
Hey Guys,
As you may have worked out by now i am a Python / Django novice and help set up a website for a friend, we have just moved to a new host (based on previous recommendations) and i thought i would take the chance to upgrade from 0.5 to 0.7. Unfortunately when we were tweaking 0.5 for our needs i upgrade some of the python files e.g. "models.py" so i could add some extra columns to the product table etc.

I realise now i probably shouldn't have just changed the deployed python files directly, so going forward, how and were abouts do i add my own python files, or even my own modified versions so that future upgrades are easier?

Also, what software does everyone use for developing in Python / Django?

Thanks again guys,
Mark

Kai Diefenbach

unread,
May 29, 2012, 4:02:29 AM5/29/12
to djang...@googlegroups.com
Hi, 

Am 28.05.2012 um 17:38 schrieb beefybailey:

I realise now i probably shouldn't have just changed the deployed python files directly, so going forward, how and were abouts do i add my own python files, or even my own modified versions so that future upgrades are easier?

1. Fork it on GitHub
2. Point to your forks within buildout.cfg
3. Run the buildout (your forks will be checked out to the "src"-folder)
4. Make changes to your forks and push it to GitHub
5. In future you might merge the master repository into yours

Also, what software does everyone use for developing in Python / Django?

SublimeText 2 with Djaneiro Package

HTH
Kai

--
IQ++
Tel: +49 361 / 6636700
Fax: +49 361 / 6636702
Mail: kai.die...@iqpp.de
Web: http://www.iqpp.de
Skype: kai.diefenbach

Reply all
Reply to author
Forward
0 new messages