Re: is Django too powerful?

2005-12-13 Thread Ian Holsman
infrastructure bit - distributed login via a OpenID system. The point I was trying to make it that django framework should concentrate on building the common components that apps use, and then concentrate on the full fledged applicaitons after that. regards Ian On 12/14/05, Jeroen Ruigrok van

Re: is Django too powerful?

2005-12-13 Thread Ian Holsman
personally I'm all for ease of use, and multiple versions of things, and I'm REALLY happy if it is easy for someone to go and write their own blog software. for example.. I've been slowly getting a phpBB-like forum software up and running for my own uses. and was planning to 'announce/release' ne

Re: Which user posted the blog entry.

2005-12-12 Thread Ian Holsman
from my understanding there is only way to get at it in the presave, and that is to either set the field in middleware, or in the custom manipulator before the object gets 'saved' I blogged about it here http://feh.holsman.net/articles/2005/12/07/some-basic-audit-functionality and provided some c

Re: ANN: Django site on washingtonpost.com

2005-12-06 Thread Ian Maurer
Ha! Congressional voting by astrological sign! The app overall is great ... nice work! ian On 12/6/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 12/5/05, Tom Tobin <[EMAIL PROTECTED]> wrote: > > BTW, is there any particular reason the Recent Votes feed is in

Re: Contrib markup app not to be installed?

2005-12-03 Thread Ian Holsman
shouldn't a warning/informational message be generated in this case. something like $ django-admin install markup INFO: no models found to install.. skipping markup ? On 12/3/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2005, at 5:13 AM, James Bennett wrote: > > While setting

Re: problem marketing django to php folk

2005-11-25 Thread Ian Holsman
gery prevention compoent here: http://lukeplant.me.uk/resources/csrfmiddleware/ regards Ian. On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > have been talking to some php folk about switching to django, but > they have raised a serious concern: Django website

Re: 2nd database for a specific app

2005-11-22 Thread Ian Holsman
Hi Patrick. At the moment Django can not talk to 2 different databases. If you need this, you might be able to get the data out of the 2nd database via custom functions which handle the db calls directly, or possibly futz with django/core/db regards Ian but I would wait 12-24 hours until the

Re: 20 minute wiki, sortof.

2005-11-20 Thread Ian Holsman
hi David. do you have a SVN url? I'd love to replace moinmoin with a django wiki (i don't need much from a wiki, so even a 20 minute one might be ok ;-) regards Ian On 11/18/05, David Ascher <[EMAIL PROTECTED]> wrote: > After watching the TurboGears 20 minute wiki screenca

Re: Django and Ruby on Rails framework roundtable: Dec. 3 in Chicago

2005-11-17 Thread Ian Maurer
> Full information is here: > > http://snakesandrubies.com/event/ Is the site written in Django or Rails? Just curious :P

Re: Access request object in model's hooks and display methods

2005-11-17 Thread Ian Holsman
couldn't we do something similar to get_active_site() call on the sites table? that way people who need the 'request' object could just call it and it wouldn't impact the api of anything else? On 11/18/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 11/17/05, plisk <[EMAIL PROTECTED]> wrot

Sites, how do I use them

2005-11-16 Thread Ian Holsman
'site' is taken into account? regards Ian. -- [EMAIL PROTECTED] -- ++61-3-9877-0909 If everything seems under control, you're not going fast enough. - Mario Andretti

Re: Trouble with Apache 1.3 and FCGI on Mac OS X

2005-11-16 Thread Ian Holsman
Hi Colin. as a point of reference I use Apache2 + mod-python on my OS/X box and it works like a charm. I would recommned people investigate this option as well. regards Ian. On 11/16/05, Colin Howlett <[EMAIL PROTECTED]> wrote: > > Georg, > > I wasn't really complain

Re: enforce login on generic views

2005-11-12 Thread Ian Holsman
Hi Adrian. would it be too hard to just stick the 'user login' views in the main codebase? regards ian On 11/13/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 11/12/05, Bryan Murdock <[EMAIL PROTECTED]> wrote: > > How do I limit access to a generic view

Re: Generic Views - CRUD

2005-11-04 Thread Ian Holsman
/18/django-custommanipulators where it adds a custom field to the manipulator to populate another relationship. this might help. regards Ian On 11/5/05, sarahwithanx <[EMAIL PROTECTED]> wrote: > > The generic views seem very limiting. Is there a way to include > multiple objects i

Re: I want to start a django project for a forum

2005-11-03 Thread Ian Maurer
I would like to volunteer to help wherever I can. -ian On 11/3/05, Waylan Limberg <[EMAIL PROTECTED]> wrote: > > On 11/3/05, Ian Holsman <[EMAIL PROTECTED]> wrote: > > > > Hi Luke. > > > > my aim is not to do a drop-in replacement for a phpBB. but more

Re: I want to start a django project for a forum

2005-11-02 Thread Ian Holsman
for this would be for me to write applications like mp3.com and tv.com. On 11/1/05, Luke Plant <[EMAIL PROTECTED]> wrote: > > On Tue, 1 Nov 2005 11:16:14 +1100 Ian Holsman wrote: > > > > > is anyone else interested in joining? I was thinking of similar to > > what

Re: I want to start a django project for a forum

2005-10-31 Thread Ian Holsman
m? ;) What can we offer by > using Python/Django that the PHP-based boards don't have? Stuff like > that :) > > Regards, > Jeff > > On Oct 31, 2005, at 7:16 PM, Ian Holsman wrote: > > > > > is anyone else interested in joining? I was thinking of similar to

I want to start a django project for a forum

2005-10-31 Thread Ian Holsman
is anyone else interested in joining? I was thinking of similar to what phpBB does. If so I propose we open up a sourceforge project, or perhaps we could even host it on code.djangoproject.com if they let us ;-) any volunteers? regards Ian -- [EMAIL PROTECTED] -- ++61-3-9877-0909 If

Re: Django presentation slides in Spanish

2005-10-28 Thread Ian Maurer
The original english version is here: http://itmaurer.com/clepy/htdocs/media/presentation/presentation.html I am going to try and update it for the new settings stuff this weekend. If anyone notices any other inaccuracies please send me an email at [EMAIL PROTECTED] thanks- ian On 10/28/05

Re: 'Site administration' heading in django admin interface

2005-10-27 Thread Ian Holsman
Have you tried modifying/copying the file $SRC//django/contrib/admin/templates/admin/base.html if you modifiy your project settings file you can override this by simply placing a file called admin/base.html into your own template directory (before the standard one) Cheers Ian On 10/28/05

Re: meta.OneToOneField() problemo

2005-10-27 Thread Ian Maurer
nit__.py is probably a good place ;). thanks- Ian On 9/19/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 9/19/05, Ian Maurer <[EMAIL PROTECTED]> wrote: > > But, I have a multitude of problems that I don't believe I had before > > the recent model overha

Re: global names undefined in _pre_save() and _post_save()

2005-10-18 Thread Ian Holsman
Hi Qiangning it has something to do with how django creates it's model classes. if you look closer at the excpetion, you might be able to add the import statements into the framework class itself. personally I like boring.. boring doesn't call you in the middle of the night ;-) r

Re: difference between command line and a web-page

2005-10-17 Thread Ian Holsman
the many to many has a custom update method which I am calling in _post_save and not in the actual field's manipulator.. Is this correct? is it as simple as just moving the code into tags manipulator??? regards Ian. On 10/17/05, Ian Holsman <[EMAIL PROTECTED]> wrote: > hi. > >

difference between command line and a web-page

2005-10-16 Thread Ian Holsman
hi. I have a many to many table in django, which I'm having troubles updating. class Keyword( meta.Model ): URL = meta.URLField(core=True) pagetype = meta.ForeignKey( PageType, verbose_name="the type of page") regex = meta.CharField(maxlength=250) to_match = meta.BooleanField()

specifying the name of a many-to-many table

2005-10-16 Thread Ian Holsman
is it possible? or should I just 'explode' it out into sepearte classes (2 one to many links to a seperate table) regards Ian. -- [EMAIL PROTECTED] -- ++61-3-9877-0909 If everything seems under control, you're not going fast enough. - Mario Andretti

Re: Manipulators that span a relationships?

2005-10-16 Thread Ian Maurer
That fixed that bug. Thanks. Now I can move forward and test the rest. I will provide more info the next time I run into a problem... -ian On 10/15/05, Robert Wittams <[EMAIL PROTECTED]> wrote: > > Ian Maurer wrote: > > I didn't get very far with the new branch. My

Re: Manipulators that span a relationships?

2005-10-14 Thread Ian Maurer
I didn't get very far with the new branch. My template is failing to render right off the bat... I haven't had a chance to investigate this, but my templates were/are working just fine under the main branch. Below is the end of my traceback... any thoughts? -ian return render_t

Re: Manipulators that span a relationships?

2005-10-13 Thread Ian Maurer
Easy enough. I will let you know if I run into any problems... thanks again, ian On 10/13/05, Robert Wittams <[EMAIL PROTECTED]> wrote: > > Ian Maurer wrote: > > That's a pretty slick implementation, I'd like to try it out... some > > questions: > > >

Re: Manipulators that span a relationships?

2005-10-13 Thread Ian Maurer
That's a pretty slick implementation, I'd like to try it out... some questions: Is it in a usable format? Are there any directions for pulling this branch down to my local environment? What happens if the main branch gets updated? thanks... ian On 10/13/05, Robert Wittams <[EM

Manipulators that span a relationships?

2005-10-13 Thread Ian Maurer
and form processing features of Django across multiple objects until this ticket is finished? thanks... ian

Django Unit Testing

2005-10-09 Thread Ian Maurer
I have created a simple write-up on how I am preparing my Django unit tests to leverage sqlite's in-memory database: http://itmaurer.com/blog/?p=2 Comments and suggestions welcome... ian

newbieQ: having different databases for apps, and referencing tables from other applications

2005-10-07 Thread Ian Holsman
nd the other related question i have is it possible for 2 different apps to share a 'reference' table. for exampel a product table which is used for editorial reviews in one app, as well as a app which uses it to hold the latest prices from multiple shops in another. regards (and thanks fo

Re: Oct 3rd: Django Presentation (CLEPY)

2005-10-05 Thread Ian Maurer
The presentation and the zipfile containing my project can be found at my site: http://itmaurer.com/blog/?p=1 Thanks to all who attended! Ian On 9/25/05, Ian Maurer <[EMAIL PROTECTED]> wrote: > I am going to be doing a presentation on Django at the Cleveland Area > Python In

Oct 3rd: Django Presentation (CLEPY)

2005-09-25 Thread Ian Maurer
website: http://clepy.org/ For meeting details, including a link to directions: http://www.clepy.org/meetings/2005_10_06_mtg_details regards, Ian Maurer

Re: How to extend Model ?

2005-09-23 Thread Ian Maurer
Checkout: http://www.djangoproject.com/documentation/django_admin/ You want the 'sqlclear' option which gives you the SQL needed. I just copy and paste it into my mysql session or you could dump it into a file and run that. good luck! ian On 9/23/05, [EMAIL PROTECTED] <[EM

Re: meta.OneToOneField() problemo

2005-09-23 Thread Ian Maurer
... And I watching this ticket... http://code.djangoproject.com/ticket/527 thanks! Ian

Re: meta.OneToOneField() problemo

2005-09-19 Thread Ian Maurer
'one_to_one' module: API test raised an exception ========= Code: 'w' Line: 42 Exception: File "C:\www\downloads\trunk\tests\doctest.py", line 1243, in __run compileflags, 1) in test.globs File "", line 1, in ? w Nam

Re: meta.OneToOneField() problemo

2005-09-19 Thread Ian Maurer
o\core\meta\__init__.py", line 1181, in _throw_bad_kwarg_error #raise TypeError, "got unexpected keyword argument '%s'" % kwarg #TypeError: got unexpected keyword argument 'place__exact' Originally, I was going to ditch the use of OneToOne because I thought I was simply using it incorrectly in my design... but after seeing Mark's post and whipping up this example, I believe there is a bug. I also hope my post clarifies not confuses Mark's post... because I believe they are related issues. regards, -ian

<    2   3   4   5   6   7