Re: "Back-to-front" LDAP Authentication

2006-06-08 Thread James Mulholland
Thanks Ramiro! I'll take a look at that today. I'm always a bit reluctant to use non-standard code, but if it's being regularly merged that should be ok. -- James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: Django on Intel mac?

2006-06-08 Thread Jure Čuhalev
On 6/8/06, Greg Harman <[EMAIL PROTECTED]> wrote: > Yeah, the only cases I've read about where people have gotten this > working on the Intel Mac has been through darwinports. I was really > hoping to avoid that and use independently-installed packages (such as > the pythonmac.org Universal distr

Re: Django on Intel mac?

2006-06-08 Thread Ian Holsman
I am using the universal distro python and it works well. (with mysql 5.1.9) On 08/06/2006, at 2:19 PM, Greg Harman wrote: > > > Corey Oordt wrote: >> I have MacBook, and although it was a challenge to get everything up >> and running, I ended up using darwinports to install apache 2, mysql >>

Modelling dependent relationships

2006-06-08 Thread adurdin
I have the models, Product and Attribute, with a many to many relation between them (in Product: attributes = ManyToManyField(Attribute)) A third model, AttributeValue has a ForeignKey(Attribute), as each attribute can have many values. I have created another models, StockUnit, with a ForeignKey(

Re: Django Article on Developerworks

2006-06-08 Thread Jeremy Dunck
On 6/6/06, Ian Maurer <[EMAIL PROTECTED]> wrote: > > Thanks guys for the feedback. Hopefully the changes will get > incorporated tomorrow. Sorry, a small one I just noticed: in listing 31, you extend "jobs/base.html" while in listing 32, you extend "jobs/base". --~--~-~--~~--

Re: Admin site/ManyToManyField problem

2006-06-08 Thread Ramiro Morales
Dagur, On 6/7/06, Dagur <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm having problems with ManyToManyField not appearing in the admin > site. I think it's best explained with this screenshot (look at the > bottom): http://dagur.sytes.net/static/djangoshot.jpg > I also put the source for the models i

Simon on Europython

2006-06-08 Thread Michael Radziej
Hi, just noted: Simon will talk at the Europython: http://indico.cern.ch/contributionDisplay.py?contribId=26&sessionId=9&confId=44 there'll also be a "framework shootout": http://indico.cern.ch/contributionDisplay.py?contribId=117&sessionId=9&confId=44 See you :-) Michael --~--~-~

Re: Admin site/ManyToManyField problem

2006-06-08 Thread Dagur Ammendrup
I tried with tags and no tags but this is the first post being added. Having one other post didn't change anything.On 08/06/06, Ramiro Morales <[EMAIL PROTECTED]> wrote:Dagur, On 6/7/06, Dagur <[EMAIL PROTECTED]> wrote:>> Hi,>> I'm having problems with ManyToManyField not appearing in the admin> s

Re: Modelling dependent relationships

2006-06-08 Thread Chris Moffitt
> Any suggestions? I've had a similar issue too. Any thoughts on dealing with this case would be most helpful. -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

one to one relationship and file upload issue

2006-06-08 Thread Jeremy Jones
I'm having two issues within the same app. First, maybe I just got a bad batch of crack, but I could've sworn things were working differently the other day. I have one model class (Podcast) that has a one to one relationship with another (Post). I could've sworn that the other day, when I went

Reset all apps?

2006-06-08 Thread Todd O'Bryan
sqlreset and reset seem to require an appname to run. Is there a way to reset all the INSTALLED_APPS in a project without knowing what they are ahead of time? Todd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Reset all apps?

2006-06-08 Thread Adrian Holovaty
On 6/8/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > sqlreset and reset seem to require an appname to run. > > Is there a way to reset all the INSTALLED_APPS in a project without > knowing what they are ahead of time? No, there's no way to do this at the moment. If you have nothing else in your d

Re: one to one relationship and file upload issue

2006-06-08 Thread arthur debert
Hi james, regarding: > when I upload a file (a 10+MB mp3) on my local machine, it > takes quite a while and pegs the CPU. Is this expected and is this > going to be the behavior when I put it in production under fastcgi? django keeps the whole upload in memory. this has been discussed a few times

initdb error PostgreSQL

2006-06-08 Thread camokid
Hi Been having a great deal of trouble trying to install PostgreSQL for Django, finally feel like im getting somewhere but getting the following when trying to initdb. Im on a Mac by the way... Any help? mr-fusion:~ mrfusion$ sudo -u postgres81 initdb -D $PGDATA The files belonging to this data

Re: initdb error PostgreSQL

2006-06-08 Thread Don Arbow
On Jun 8, 2006, at 8:54 AM, camokid wrote: > Been having a great deal of trouble trying to install PostgreSQL for > Django, finally feel like im getting somewhere but getting the > following when trying to initdb. Im on a Mac by the way... > > ... > creating conversions ... FATAL: could not acce

Re: initdb error PostgreSQL

2006-06-08 Thread camokid
I am doing it this way as I used DarwinPorts to get PostgreSQL, thanks for the link but I am none the wiser. I am using PostgreSQL 8.1.4 by the way. thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: one to one relationship and file upload issue

2006-06-08 Thread Jeremy Jones
I wouldn't think it would take multiple seconds to process the file I'm trying to upload, still. I'll just see how it handles things in production. I'm seeing more problems, though, with how the admin interface is dealing with my version of MySQL. At least I think Django is having a problem wi

Re: one to one relationship and file upload issue

2006-06-08 Thread arthur debert
Could this be it http://code.djangoproject.com/ticket/572 or http://code.djangoproject.com/ticket/1584 ? me thinks this was fixed recently. => http://code.djangoproject.com/changeset/3002 are you running an up to date svn version? see if that helps --~--~-~--~~~--

Tips for integrate pyLucene in django?

2006-06-08 Thread mamcxyz
I already read http://groups.google.com/group/django-users/browse_thread/thread/57e862310c2bf664/4e187a95a5651934?q=pylucene&rnum=1#4e187a95a5651934 However, I need use pyLucene inside a django app I'm working. Just now, is working all fine. I have this: import os from PyLucene import IndexWrit

NO 1 website for IT Jobs

2006-06-08 Thread Smith
Hello and Hi Today, I tell you another Best Website for finding the best job. Please check this link and enjoy your dream job.   http://www.it-jse.com   Special thing about this website is, they are presenting direct links to jobs. They are using only Direct Employers and not using Staffin

News site suggestions

2006-06-08 Thread Jay Parlar
I'm doing a bit of volunteer work right now to help my community's "Residents Association" put together a website. The desire so far, would be something along the lines of a newspaper/TV station website (ala ljworld.com), but without as many fancy features. The association currently puts out a s

Re: Subclassing in Trunk

2006-06-08 Thread [EMAIL PROTECTED]
Hello, David Reynolds wrote: > I can't recreate the behaviour that > replaces_model='modelname' used to do. Is this going to be readded, > or a better way of doing it added and what sort of timescales are on > this? I was just about to ask the same question: I need to add some fields to the User

Re: Subclassing in Trunk

2006-06-08 Thread Joseph Kocherhans
On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > David Reynolds wrote: > > I can't recreate the behaviour that > > replaces_model='modelname' used to do. Is this going to be readded, > > or a better way of doing it added and what sort of timescales are on > > this? > > I was

Re: Tips for integrate pyLucene in django?

2006-06-08 Thread gabor
mamcxyz wrote: > > The thing I'm not sure is about thread safety. I'm confident in the > Lucene stuuf (in fact I'm working in a port of Lucene to Delphi) but > not know in the context of django what to do. > > The rule is only have a GLOBAL writer object, and I can do concurrent > reading operat

Problems interating through arrays passed through render to response

2006-06-08 Thread fyleow
I'm pretty new to Django so I apologize if this is an elementary and obvious question. I did look through the docs but I'm still confused as to how to get this working. I'll try to describe what my website does with books as an example. Basically I have a large database with information about bo

Re: Problems interating through arrays passed through render to response

2006-06-08 Thread spacedman
fyleow wrote: > keyword = books.objects.get(headline__icontains=keyword) I would then split/reshape this list into a list of (keyword, list_of_books) tuples, so you have a structure like this: keywordsearch = [('python', [,]), ('coding',[,])] then in the template you loop "for kwmatch in

Re: Tips for integrate pyLucene in django?

2006-06-08 Thread mamcxyz
I think that complicate a little the things... Any hint in how do that? Also, for clarity, the rule is: only ONE writer object at time can acces the index. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Tips for integrate pyLucene in django?

2006-06-08 Thread Ian Holsman
another option you might want to look at is using SolR - http:// incubator.apache.org/projects/solr.html , which is a search server which uses lucene. you could then use a regular HTTP client to communicate with it. On 09/06/2006, at 9:36 AM, mamcxyz wrote: > > I think that complicate a littl

Re: Django Article on Developerworks

2006-06-08 Thread Adrian Holovaty
On 6/6/06, Ian Maurer <[EMAIL PROTECTED]> wrote: > http://www-128.ibm.com/developerworks/linux/library/l-django/ > > If you notice any errors, kindly send them to me via email and I will > see if I can get them fixed. There's an error in Listing 25: from django.utils.httpwrappers import Http

Re: Subclassing in Trunk

2006-06-08 Thread Malcolm Tredinnick
On Wed, 2006-06-07 at 11:34 +0100, David Reynolds wrote: > Hi, > > I seem to remember reading either on the mailing list or IRC channel > that sub-classing doesn't work at the moment, is that correct? It > seems to work to some extent but I can't recreate the behaviour that > replaces_model

Re: Problems interating through arrays passed through render to response

2006-06-08 Thread fyleow
Thanks for the insight Barry. I think I know what's wrong with my program now. I'm passing an array of strings then trying to iterate through the strings to access a dictionary with the same name, but obviously that doesn't work. For example: keywords = ["python", "django"] First iteration wo

Re: Django Article on Developerworks

2006-06-08 Thread Ian Maurer
Thanks Adrian. I have sent in a new fix request. In the below blog entry I list the current errata that I know about: http://itmaurer.com/blog/?p=4 I have also included the project for download. I'd love it if someone here could verify they can get it to work in 5 mins: - Download and unzip (h

Still stuck trying to set up testing

2006-06-08 Thread Todd O'Bryan
I'm having a chicken-and-egg problem. So, I want to drop the test database, recreate it, sync it to the models, and then populate it with test data, ideally automatically because automatic tests are far more likely to get run. If I want the drop and create commands to be generic, they need

Re: Still stuck trying to set up testing

2006-06-08 Thread Malcolm Tredinnick
On Thu, 2006-06-08 at 23:07 -0400, Todd O'Bryan wrote: > I'm having a chicken-and-egg problem. > > So, I want to drop the test database, recreate it, sync it to the > models, and then populate it with test data, ideally automatically > because automatic tests are far more likely to get run. >

Re: one to one relationship and file upload issue

2006-06-08 Thread Jeremy Jones
I was at a changeset more recent than 3002. Can't recall which revision number it was, but it was circa June 2. I figured that wasn't it, played around with MySQL a bit more, uninstalled all but a specific version of the MySQL client, reinstalled MySQL_python, turned on MySQL logging, and was pe

Re: Django on Dreamhost. Getting 503 http error when I try to login to admin

2006-06-08 Thread Eugene Lazutkin
Tomas Jacobsen wrote: > Ah, good to know Im not stupid :) Will try it out with my regular > domain later. Thank you! This problem had an extremely bizarre manifestation! As far as I know Tomas tried Django with different domain name and it works as expected. ;-) I updated the DreamHost Wiki: