This guide assumes you’ve already installed Eclipse, PyDev, Python and Django. It also assumes you’re using Eclipse 3.2, PyDev 1.2.4, Django 0.95 and Python 2.4.
* Go to Window->Preferences->Preferences->PyDev->Python Interpretter and add the django source file to the PYTHONPATH settings.
* Create a new PyDev pyhon project. Make sure you uncheck the ‘create src folder’ option.
* Create project on the command line using django e.g.
django-admin.py startproject mysite
* In your newly created project directory create a
src directory in it, and move the django generated source files here
* In eclipse, right-click your project and select refresh
* Right-click on the project and select
Properties->PyDev - PYTHONPATH, and add your src folder to the project source settings
That should be it. I still get red underlines on the Django source imports even thought PyDev seems to know about them – to test this is working properly, open up your
urls.py file and
ctrl click on the
patterns call – it should take you to
Now you can go ahead and create your database & super user.
Launching to built-in server
manage.py and hit
F9. This should print out the usage information for the server. To actually start the server, select
Run->Run..., and in the
Arguments tab for
runserver --noreload. The
noreload argument gives you output.
Thanks go to PyDev creator Fabio Zadrozny for his guide which got me going.
October 9, 2006
On a Wednesday instead this week, just for kicks, but once again at the “Olde Bank of England”:http://www.pubs.com/pub_details.cfm?ID=214 from 7pm. No agenda as yet, but I want demos! Leave a comment if you’ll be coming so I can get an idea of numbers.
Though the magic of Google Calendar (I’m so Web 20 it _hurts_) I now have publically available “ical(London 2.0 meet-up events – iCal)”:http://firstname.lastname@example.org/public/basic and “rss(London 2.0 meet-up events – rss)”:http://email@example.com/public/basic feeds. Once I get home it’ll be on upcoming too (damn corporate firewall tagging it as a dating site…), although unless upcoming starts letting me splice in my Google events soon I’ll probably stop using the service.
p(update). _Update_: I’ve added a simple block on the bottom of this site listing the upcoming London 2.0 events using dwc’s “iCal WordPress plugin”:http://dev.webadmin.ufl.edu/~dwc/2005/03/10/ical-events-plugin/. There is also a specific “category”:http://www.magpiebrain.com/blog/category/web-20/london-20-meet-ups/ and “rss feed”:http://www.magpiebrain.com/blog/category/web-20/london-20-meet-ups//feed for all London 2.0 meet-up information.
April 18, 2006
Thanks to everyone who attended London 2.0 RC 4 last night (in rather cramped conditions). The “usual(Simon Willison’s weblog)”:http://simon.incutio.com/ “suspects”:http://www.brunningonline.net/simon/blog/ were in attendance, as well as Adrian Holovaty who was in for a few days.
“Phil Dawes”:http://www.phildawes.net/blog/ demonstrated both “Bicycle Repair Man(Bicycle Repair Man – Python Refactoring Tool)”:http://bicyclerepair.sourceforge.net/ and the Python testing tool “Protest”:http://www.phildawes.net/blog/2006/03/17/protest-rocks-generate-documentation-from-tests/ (we need screencasts of both!), and I pointed numerous people towards the impressive “DabbleDB”:http://dabbledb.com/utr/ screencast. Demo of the night probably had to be Remi Delon showing off “Python Hosting”:http://www.python-hosting.com/. They offer a very slick, one-click install of a variety of different webapp frameworks (everything from TurboGears to Zope to Django) for a very “reasonable price(Python Hosting shared hosting plans)”:http://www.python-hosting.com/shared_hosting. His screencast is out soon – but put it this way, TextDrive’s TextPanel is going to have a lot to live up to, not to mention their forthcoming Rails-dedicated hosting (note: I’m a TextDrive user myself). Despite their name, Python-Hosting do also provide Rails hosting, however it’s not yet integrated with their slick user interface.
Details on next month’s London 2.0 RC5 coming up soon.
April 4, 2006
Just a final reminder – “London 2.0 RC 4”:http://www.magpiebrain.com/archives/2006/02/25/london20_rc4 is on tomorrow night. Adrian Holovaty is in town for a few days and will be popping along. As per usual at the “Old Bank of England”:http://www.beerintheevening.com/pubs/s/66/660/.
April 2, 2006
Yes, I know what you’re thinking – “So soon after the announcement of the “March meeting(magpiebrain – London RC3 March Meetup)”:http://www.magpiebrain.com/archives/2006/02/25/london20_rc3? Has Sam started getting organised?”. Well, kind of – actually I heard from
Harry Pot “Simon W(Simon Willison’s Weblog)”:http://simon.incutio.com/ that one of the Django devs, “Adrian Holovaty(Adrian Holovaty’s Weblog)”:http://www.holovaty.com/, was going to be in town.
Given that it’s so far in advance, I’m sure many of you won’t know if you can make it, but once again it’ll be the same cross-language cross-technology meetup, broadly aligned along Web 2.0 lines – all are welcome, whether or not you think Web 2.0 is great, or just a crock of poo.
February 25, 2006
Another Django/Rails/Catalyst/Java/web2.0 love in to be held at “The Old Bank of England”:http://www.beerintheevening.com/pubs/s/66/660/ onFleet Street. Web 2.0 advocates and detractors are welcome, as are any enthusiasts of Lisp, Python, Ruby, Java, Haskell or whatever other dirty commie language you lot use.
Once again I’ll be (badly) organising this with the aid of Simon Brunning, his “jury service permitting(Small Values of Cool – London 2.0rc3)”:http://www.brunningonline.net/simon/blog/archives/002009.html.
If you’re coming along either leave a comment or register your interest on “Upcoming(Upcoming.org – London 2.0 RC3)”:http://upcoming.org/event/59719/ – we have to book a room so it’d be good to get an idea of numbers.
February 25, 2006
As I assume many of you (including myself) will be attending the “The Future of Web Apps”:http://carsonworkshops.com/summit/, I’m not going to run a specific Web 2.0 RCX meeting this month. To be honest I can only stand to hang around you new-media over-enthusiastic hand-wavers once a month (you know “who you are”:http://simon.incutio.com/!), and what with the lineup for the summit it looks like I’m going to get about 4 months worth of Web 2.0 hypness. I’m planning to run an unofficial meetup in the evening after the summit proper, venue tbc.
January 31, 2006