Re: I love both Django and the Google Web Toolkit. Who else thinks tighter integration would be nice?

2008-12-16 Thread Ian Lawrence
Hi look at http://autotest.kernel.org/ this is a djand and gwt application used for kernel testing. It basically sets up an RPC django server which passes json into gwt. It is a great app to learn how this all works Ian -- http://ianlawrence.info --~--~-~--~~~---~--~

Re: File upload progress bar for Django?

2008-10-22 Thread Ian Lawrence
Hi very cool..thx for putting this together. You have saved me some time! Ian -- http://ianlawrence.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: newforms and commit=False

2008-07-17 Thread Ian Lawrence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > Take a look at how Form Preview works. You should be able to adapt > that to your above workflow: > http://www.djangoproject.com/documentation/form_preview/ Thanks , that looks exactly like what I need! I do not think however it is possible to

newforms and commit=False

2008-07-17 Thread Ian Lawrence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I wondered if someone has an about this?. I take an uploaded zip/tarball and bind it to a model form. I then extract it to a temporary folder and use this as a resources folder when I compile a flash movie. If the contents of the flash movie are o

wsgi and os.environ

2008-07-15 Thread Ian Lawrence
Hi, I am experimenting with wsgi. I saw that this can be one way to enable it: os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' this seems a little strange to me setting something global to your process. Is this best practice on the mod_wsgi world? thx Ian -- http://ianlawrence.info

Re: Mobile version of a site

2008-06-27 Thread Ian Lawrence
Hi, > Is there a recommended way to go about this? Do I have to recreate all > my views? Mobile sites are usually just alternate templates on the same views. So, the question is how to work out what it is that wants to 'view' your 'views'?. For this look at http://code.google.com/p/minidetector/

Re: Development environment

2008-06-26 Thread Ian Lawrence
Hi, >> I'm currently learning django on Ubuntu, but my background is Windows, >> so I'm not a VIM kind of guy. What kind of IDE do you guys use or >> recommend? I use eric4 IDE on ubuntu with the Project Django plugin enabled (sudo apt-get install eric4) Ian -- http://ianlawrence.info --~--~--

Re: code runs in django shell but not apache

2008-05-19 Thread Ian Lawrence
Hi, > You did not say what the view code does do. Does it raise an exception > whose trace you can share? Thx for answering No, this was the most confusing thing and what made me think it was an apache permission problem. I fired up the dev server and the code ran so i then hunted around the web

code runs in django shell but not apache

2008-05-19 Thread Ian Lawrence
Hi, I have been bashing my head trying to work this out. This code creates the new theme fine: [EMAIL PROTECTED]:~/Web/django_projects/webtheme$ export DJANGO_SETTINGS_MODULE DJANGO_SETTINGS_MODULE=webtheme.settings [EMAIL PROTECTED]:~/Web/django_projects/webtheme$ django-admin.py shell Python 2.5

Re: Overwriting RSS item links

2008-04-11 Thread Ian Lawrence
On Fri, Apr 11, 2008 at 7:40 AM, Ian Lawrence <[EMAIL PROTECTED]> wrote: > Hi > > > Is there any way I can change this behaviour as I need to overwrite the URL > > completely to something like > you could do something like in settings.py: > ROOT_URL = whogotmassiv

Re: Overwriting RSS item links

2008-04-11 Thread Ian Lawrence
Hi > Is there any way I can change this behaviour as I need to overwrite the URL > completely to something like you could do something like in settings.py: ROOT_URL = whogotmassive.com and in your feed.py: link = "%s/balls" % settings.ROOT_URL the challenging thing for me now is trying to use th

Re: How to do background processing with Django

2008-03-26 Thread Ian Lawrence
Hi > are django and apache. Adding a HTTP server or configuring django- > queuing is too painful for the average user. :( what does the end user have to do with this? you have a server by doing wget http://svn.cherrypy.org/trunk/cherrypy/wsgiserver/__init__.py -O wsgiserver.py and setting up xm

Re: About to give up!!!

2008-02-09 Thread Ian Lawrence
Ola what are the permissions on the image file? regards ian -- always code as if the person who ends up maintaining it will be a violent psychopath who knows where you live. http://ianlawrence.info --~--~-~--~~~---~--~~ You received this message because you are s

Re: _real_get_response: global name '_' is not defined

2007-12-04 Thread Ian Lawrence
ah just read the complete thread with the solution...sorry for the line noise regards Ian On Dec 4, 2007 9:42 AM, vern <[EMAIL PROTECTED]> wrote: > > Hi > i am being bitten by this too...i think it has something to do with > python 2.5 not supporting an underscore at the start of a variable > nam

Re: Setting up your django project outside the document root

2007-11-21 Thread Ian Lawrence
ll serve the > python project (/home/python-project) > > Sorry, I'm still a bit confused... Trying to un-learn my PHP'ness > > Thanks for the help! > > On Oct 27, 2:33 pm, "Ian Lawrence" <[EMAIL PROTECTED]> wrote: > > Ola > > basically you sym

Re: Setting up your django project outside the document root

2007-10-27 Thread Ian Lawrence
Ola basically you sym link it... I recently did exactly this and wrote up the procedure here: http://ianlawrence.info/random-stuff/set-up-django-apache-and-postgresql-on-ubuntu-feisty hope this helps Ian On 10/27/07, Adam D. <[EMAIL PROTECTED]> wrote: > > I am a newbie. > > Everywhere I read abo

Re: forum to mailing list integration

2007-10-03 Thread Ian Lawrence
Ola I should think this functionality would be a valuable addition to Django so thx for your pointers. abracos Ian On 10/2/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-10-02 at 13:22 -0400, Ian Lawrence wrote: > > Hi > > I have a requirement for al

forum to mailing list integration

2007-10-02 Thread Ian Lawrence
Hi I have a requirement for all forum posts to go to a mailing list (this i have implemented) but also that all subsequent posts on the mailing list to the thread appear on the forum too. Has anyone ever implemented anything like this before? I would prefer a mailman solution but that is not cruc

Re: uploading to a separate directory

2007-09-18 Thread Ian Lawrence
being able to supply a field name, and it also > has the limitation of being old-form specific. > > Hopefully someone else will be able to explain things better than I > have. > > -Doug > > On Sep 17, 1:17 pm, "Ian Lawrence" <[EMAIL PROTECTED]> wrote

uploading to a separate directory

2007-09-17 Thread Ian Lawrence
Hi, I would like each uploaded test to go into a separate directory in my media_root. In models.py I have: class TestDetail(models.Model): test_grouping = models.ForeignKey(TestGrouping) test_name = models.CharField(maxlength=200) python_file = models.FileField("Python File", upload_t

single sign on for integrated django,trac and phpBB site

2007-08-27 Thread Ian Lawrence
Hi, I found this: http://automatthias.wordpress.com/2006/12/18/killing-phpbb-softly/ excellent post about phpBB and Django integration. I was wondering if anyone has integrated single sign on with trac?..it seems trac uses .htaccess and not a database table so maybe it is not possible? Thanks Ian

Re: django hosting companies

2007-08-14 Thread Ian Lawrence
ola i have said before on this list but these http://www.webfaction.com/ guys are awesome...i have nothing to do with them i just respect their service and support []'s Ian On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I was looking at the django friendly hosting page off the djang

Re: Music E-zine development in Django

2007-06-06 Thread Ian Lawrence
Hi, Can you post me the svn link too to play around with..i am involved with a Brazilian Free Studio Project called Estudiolivre (http://estudiolivre.org) and it would be great to co-operate. Regards Ian On 6/6/07, temnoregg <[EMAIL PROTECTED]> wrote: > > thanks for response, > > any closer date

Re: \d and \w regular expressions?

2007-05-09 Thread Ian Lawrence
Ola, http://www.amk.ca/python/howto/regex/ is a pretty gentle intro []'s Ian On 5/9/07, gsmith <[EMAIL PROTECTED]> wrote: > > Is there any documentation of what these do? I'm assuming that this > is a Python regular expression? > > The reason I ask is becuase I have a line in my urls.py file tha

Re: Need dedicated hosting for Django

2007-04-17 Thread Ian Lawrence
Hi, I use webfaction: www.webfaction.com and their level of service and technical ability is the best I have found. Their web panel makes hosting for 'web developers' very simple. Highly recommended. []'s Ian On 4/17/07, Nik Kantar <[EMAIL PROTECTED]> wrote: > > Hey guys, > > My company might be