Re: Anyone sync'd a django project with flickr recently? django-syncr

2011-09-30 Thread i...@webbricks.co.uk
a totally different kettle of fish. found this snippet, but not tried it out yet. http://djangosnippets.org/snippets/299/ think the whole sets sync needs moving into a management command, cos it can take a while! On Sep 29, 9:07 pm, "i...@webbricks.co.uk" <i...@webbricks.co.uk&g

Anyone sync'd a django project with flickr recently? django-syncr

2011-09-29 Thread i...@webbricks.co.uk
I've searched. pretty much everyone recoomends http://code.google.com/p/django-syncr/ thing is, it doesn't actually do anything. am i right in thinking that this code when run, should sync to the django database information (sets and photos) from the flickr user you give it? I've given it two

Re: How to create a sub-app directly

2011-08-22 Thread i...@webbricks.co.uk
which is fine, but you've missed the only step that actually makes the folder a python module. do this or it'll never import touch __init__.py On Aug 22, 8:32 am, kenneth gonsalves wrote: > On Sun, 2011-08-21 at 08:22 -0700, Jim wrote: > > > Here is the story. I

Re: showing an attribute of a foreign key in admin

2011-08-16 Thread i...@webbricks.co.uk
thanks tracy, i'd tried something very similar to Daniels method and failed, but your code worked first time. On Aug 15, 12:36 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Mon, Aug 15, 2011 at 4:51 AM, i...@webbricks.co.uk > <i...@webbricks.co.uk>wrote: > > >

showing an attribute of a foreign key in admin

2011-08-15 Thread i...@webbricks.co.uk
copied and pasted from stackoverflow, since i didnt get an answer in a week and i just can't believe its not possible. I want to display the Level of the Category that the product belongs to, in the admin page for the Product. snipped a lot of the unimportant fields out of the display below.

Re: getting django working with apache and mod_wsgi on a brand new mac with xcode 4

2011-07-15 Thread i...@webbricks.co.uk
you need xcode to compile stuff like PIL, which most django projects need. then im stuck, for me the dev server is good enough for development on a mac. OP, why not use the dev server and leave apache where its best, in production on a linux server. (IMO?) On Jul 15, 2:54 pm, Javier Guerra

Re: virtualenv with dev server

2011-07-14 Thread i...@webbricks.co.uk
theres two different versions of django listed there, you're not running the version in the virtualenv in one of those two listings. definitely activating the virtual env? then navigating into it to the folder manage.py is in? Matt On Jul 14, 8:54 am, Mike Dewhirst

Re: Simple example of custom user profile fields?

2011-07-13 Thread i...@webbricks.co.uk
read the paragraph on the AUTH_PROFILE_MODULE in james blog. especially understand you're pointing it at a modelname, but that it knows its a model caught me out once upon a time and might be your issue. Matt On Jul 13, 3:57 am, Brent wrote: > Unfortunately, no matter

Re: Simple example of custom user profile fields?

2011-07-13 Thread i...@webbricks.co.uk
if i can extend the user model, anybody should be able to. i followed james bennett example. in fact most of the clever stuff i do came from his tuts http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/ at this point, i'd suggest a clean virtualenv, with a single app,

Re: (UsingTheMailingList) Pre-requisites for newcomers on Django

2011-07-11 Thread i...@webbricks.co.uk
what about mentioning this as well? http://learnpythonthehardway.org/ 4 lessons through it myself, so cant rate it just yet, but some of the more experienced people in the group might know it/rate it. Matt On Jul 11, 4:30 am, Kenneth Gonsalves wrote: > On Sun,

Re: Can't get /admin/ or any page to load

2011-07-09 Thread i...@webbricks.co.uk
look in urls.py, this might turn out to be missing quotes around the view function that you're targetting. On Jul 8, 3:33 pm, Brent wrote: > When I go to 127.0.0.1:8000/admin/ I receive this error: > > Caught ViewDoesNotExist while rendering: Tried base in module >

Re: Dreamhost Virtualenv Question

2011-07-06 Thread i...@webbricks.co.uk
Jeremy, there's a concept you need to understand to progress here. its on that took me while to properly understand, but which i think is natural to someone in a foss development role, which i hadn't previously been. the python path is the all important config item. it defines where python look

Re: Dreamhost Virtualenv Question

2011-07-06 Thread i...@webbricks.co.uk
oh yeah http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/ that page is my goto reference on building a virtualenv, you might have already found it, but if not... On Jul 5, 10:28 pm, Jeremy wrote: > AHHH, that makes a little more sense.  I'm

Re: Need some help with MySQL and on OSX

2011-06-06 Thread i...@webbricks.co.uk
MAMP. about as easy as it can get. http://www.mamp.info/de/index.html On Jun 6, 8:51 am, Daniel Roseman wrote: > On Monday, June 6, 2011 2:30:25 AM UTC+1, Kolbe wrote: > > > Anyone have any good documentation on getting django with MySQL on OSX > > out there? > > >

Re: Pre-deployment steps for Django apps?

2011-06-03 Thread i...@webbricks.co.uk
add the sitemap app in. add robots.txt line. then hook it up to google webmasters tools... would love to hear what others do... On Jun 3, 1:28 am, shantp wrote: > Hi all, > > I am almost ready to make my app live. I am curious what steps you all take > while getting your app

Re: adding objects via admin section from ipad/iphone

2011-06-02 Thread i...@webbricks.co.uk
i think that approach is a little advanced for me, im not sure where id start! why would he need reeducating? Matt On Jun 1, 4:39 pm, Tom Evans <tevans...@googlemail.com> wrote: > On Wed, Jun 1, 2011 at 4:07 PM, i...@webbricks.co.uk > > > > > > <i...@webbri

adding objects via admin section from ipad/iphone

2011-06-01 Thread i...@webbricks.co.uk
i wonder if anyone has any suggestions around this issue. I'm using zinnia blog engine in a couple of sites. customer has had his head turned by an SEO genius (!) who reckons wordpress is far better for google search results than zinnia. customer starts thinking about moving back to wordpress. im

Re: sitemaps not quite as easy to setup as suggested?

2011-05-27 Thread i...@webbricks.co.uk
ly create > another sitemap file for all my static pages. > Then, create a sitemap index to point to the two. > > Would love to hear from others though. > > On Fri, May 27, 2011 at 11:22 PM, i...@webbricks.co.uk <i...@webbricks.co.uk > > > > > > > > >

Re: sitemaps not quite as easy to setup as suggested?

2011-05-27 Thread i...@webbricks.co.uk
ok, read the docs properly and understood it a bit more. im stuck with one thing though. i get how simple it is to tell the sitemap about all the objects that have been created but what about the static pages, where you've not used flatpages. for instance a contact form you've created, this should

sitemaps not quite as easy to setup as suggested?

2011-05-27 Thread i...@webbricks.co.uk
hi all, struggling to get sitemaps setup. followed docs, including working out there was an import missing in the docco. this is the copy n paste error Environment: Request Method: GET Request URL: http://coatesconstruction.co.uk/sitemap.xml Django Version: 1.3 Python Version: 2.5.2 Installed