Re: Archlinux now running django!

2006-07-08 Thread Ian Holsman
congrats Sandro. it looks great. I'd be interested to hear what you (and others) think were the biggest obstacles you had and how you overcame them. regards Ian On 09/07/2006, at 2:25 AM, Sandro wrote: > > http://www.archlinux.org has just redesigned their site which is now >

Re: mod_python autoreload acts unpredictable

2006-07-08 Thread Ian Holsman
while I don't advocate developer's hitting production .. it happens, and can make life easier may I suggest you just set up a sudo command to bounce the server? I would also make it so you have 2 code-bases and the command would switch to the 'fresh' one. ie the script would do something

Re: Deploying and set up on shared hosting?

2006-07-08 Thread Ian Holsman
On 08/07/2006, at 12:32 PM, Iain Duncan wrote: > > > > Jay Parlar wrote: >> Probably WebFaction (formerly python-hosting.com) would be your best >> bet: http://www.webfaction.com/shared_hosting > > That looks sweet. Anyone else have any feedback on these guys? Remi (the owner of webfaction)

Re: PostgreSQL vs. MySQL

2006-07-07 Thread Ian Holsman
guys... this is turning into a religious debate. I think the question has been answered. both are excellent choices. and in the hands of an expert can be made to shine. On 08/07/2006, at 8:18 AM, Geert Vanderkelen wrote: > > Don Arbow wrote: >> On Jul 7, 2006, at 3:35 AM, Kenneth Gonsalves

Re: PostgreSQL vs. MySQL

2006-07-07 Thread Ian Holsman
I've been using mysql with Django for about a 8 months and have never had any issues with it. I chose mysql as I am more familiar with it. others are more familiar with postgreSQL. choose the one you are more comfortable with. regards ian. On 07/07/2006, at 4:17 PM, Thomas Ashelford wrote

Re: where to put template tags post mr

2006-07-06 Thread Ian Holsman
app/templatetags/ ? On 07/07/2006, at 1:11 PM, Kenneth Gonsalves wrote: > > hi, > in pre MR, custom templatetags directory was placed in the same level > as the views.py file and it used to work. In post MR, django cannot > find these tags. Where do i put them. Putting them in the django/ >

Re: Managing database privileges

2006-07-05 Thread Ian Holsman
e the updates go to a separate host with more access controls on it. but for the apps I'm writing now that isn't applicable. regards Ian > > Nate > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: converting time to user's local timezone

2006-07-03 Thread Ian Holsman
hi Joe. you'll need to do 2 things (as far as I can tell) 1. store your local user's timezone 2. write a custom filter which does the work then use {{ object.create_date|convert_tz user.local_timezone }} or something like that. On 04/07/2006, at 8:04 AM, Joseph Heck wrote: > > Is there a

Re: Automatic redirecting after login

2006-07-02 Thread Ian Holsman
try /accounts/login/?next=/foobar ? On 03/07/2006, at 5:03 AM, bsdlogical wrote: > > Luigi Pantano wrote: > >> try this >> >> from django.http import HttpResponseRedirect >> >> ... ... >> >> def login(request): >>''' some code to put here ''' >>return HttpResponseRedirect("index.htm")

Re: mailing list management

2006-06-29 Thread Ian Holsman
On 29/06/2006, at 7:12 PM, Malcolm Tredinnick wrote: > > On Thu, 2006-06-29 at 13:45 +1000, Ian Holsman wrote: >> anyone in django land integrated mailing lists with django ? > > I'm tempted to ask (quietly, and just to myself) "how hard could it > be?"

mailing list management

2006-06-28 Thread Ian Holsman
anyone in django land integrated mailing lists with django ? regards Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@google

Re: Global template tags

2006-06-28 Thread Ian Holsman
Hi Poromenos. you can set up a context processor to do this. check out http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/ context_processors.py for 2 simple ones and http://svn.zyons.python-hosting.com/trunk/zilbo/settings.py.tmpl (the very bottom) on how to configure it regards Ian

Re: Checking For Existing Rows

2006-06-27 Thread Ian Holsman
http://www.djangoproject.com/documentation/models/get_or_create/ ? but yeah.. besides from using get_or_create, the exception route is probably the easiest route. On 27/06/2006, at 4:58 PM, Tyson Tate wrote: > > In one of my apps, I need to check and see if a row already exists > based on a

Re: Time Tracking Tool

2006-06-27 Thread Ian Holsman
gt; other var's would you want to have tracked (keeping in mind this is > trying to be a small simple app)? features ? for me multi-currency and PDF invoice generation. but you may just want to use SQL-ledger of OFBIZ (or quickbooks) they are pretty easy to use, and cheaper than writing

BETA Announce: Gypsy Jobs - helping developers and companies find each other in DjangoLand

2006-06-25 Thread Ian Holsman
and feedback are most welcome. either on the list, email or here: http://gypsyjobs.com/forum/the- site-itself/ regards Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Can a custom field have two database columns?

2006-06-23 Thread Ian Holsman
Hi Arthur. I do something similar to this. I chose to implement it in middleware http://svn.zyons.python-hosting.com/trunk/zilbo/common/text/ middleware/Markup.py in a nutshell, if the 'description' field exists it will create the description_html field in the post, which would get applied

Re: "Normalizing/cleaning" text of bad/unclosed tags?

2006-06-20 Thread Ian Holsman
I avoid this issue by using a 'live preview' and let them use bbcode/ markup/textile only and stripping out ALL html. On 21/06/2006, at 9:28 AM, Jay Parlar wrote: > > On 6/20/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > >> LiveJournal as a well-evolved HTML filter, but it's in perl. >>

Re: reuse of contrib.admin code for normal users

2006-06-17 Thread Ian Holsman
on each poll add something like user = models.ForeignKey(User, null=True, blank=True) in the update/create views add something like if request.user.is_anonymous(): return redirect_to_login(request.path) try: poll = Poll.objects.get( id= id ) except

Re: Django memory leak -- or caching?

2006-06-16 Thread Ian Holsman
Hi. are you running in 'debug' or 'production' mode? debug caches alot of informatin about SQL quierues On 17/06/2006, at 2:52 PM, [EMAIL PROTECTED] wrote: > > Hi all, > > I've been writing some code that populates our mysql db's through > django. I have about 55 MB of pickled data

Re: unable to do an svn co

2006-06-13 Thread Ian Holsman
hi lawgon. what version of SVN are you using? (I can do a update on my box) someone else was reporting the same error a couple of days ago on irc. On 14/06/2006, at 12:37 PM, lawgon wrote: > > hi, > on a new ubuntu machine i tried to do an svn co and am getting the > following error: > > svn:

Re: Composite or compound primary key support

2006-06-13 Thread Ian Holsman
Hi Sanjay. unfortunately Django doesn't support composite primary keys. what I do in these case is put a auto-incremented key on orderItems and make a unique index on orderID, item#, and that seems to work ok (for me) regards Ian On 13/06/2006, at 8:00 PM, Sanjay wrote: > >

Re: Running two sites off the same Django installation

2006-06-12 Thread Ian Holsman
Hi Daniel. I'm doing this right now on http://zyons.com and http://economy-chat.com the trick is to use the directive 'pythoninterpreter XYZ' in each virtual host regards ian On 13/06/2006, at 7:49 AM, [EMAIL PROTECTED] wrote: > > Hi. > > I'm planning to run two sites off the same D

Re: Development web server not serving css and admin files?

2006-06-09 Thread Ian Holsman
to help with this kind of thing I have added the following to the end of main urls.py (r'^(?P.*)$', 'django.views.static.serve', {'document_root': '/magik/zilbo/htdocs/' } ), which is telling django if you don't match something, just try and serve a file. in my apache config I force

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

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

Django Article on Developerworks

2006-06-06 Thread Ian Maurer
of this great software... I hope this article gains the project some additional exposure. regards, Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Wiki or Blogs done with django

2006-05-31 Thread Ian Holsman
e as a opportunity to lure more developers into the django community, than a learning exercise for a developer (which of course is also a great reason to build one in itself) regards Ian > > Bryan > > 1. http://www2.jeffcroft.com/2006/may/02/django-non-programmers/ > > &

Re: Apache, mod_python and Windows - problems inside

2006-05-30 Thread Ian Holsman
have you tried searching the mod-python archives? http://modpython.org/pipermail/mod_python/ it sounds like a mod-python specific issue, so you are probably get a better response over there. regards Ian On 31/05/2006, at 8:59 AM, [EMAIL PROTECTED] wrote: > > Well the solution I wa

Re: Advice on meta applications

2006-05-30 Thread Ian Holsman
are you planning on open sourcing this? if so I'd be glad to help as I have a similar app for a client. On 31/05/2006, at 6:53 AM, Scott Finnie wrote: > > Looking for some advice on how to handle my little problem, all help > gratefully appreciated. > > Apologies it's quite long. > > Story

Re: Wiki or Blogs done with django

2006-05-30 Thread Ian Holsman
would it make sense for you 4-5 blog writers to join up together and write up a common blog app? it seems like such a waste of resources for all of you. On 31/05/2006, at 6:40 AM, wam wrote: > > I've recently been updating my site to be entirely django powered. As > others have done, I

Re: Apache, mod_python and Windows - problems inside

2006-05-30 Thread Ian Holsman
I'm guessing it can't find one of the DLL's it requires to load. OR you haven't got the loadmodule line correct. On 31/05/2006, at 6:52 AM, [EMAIL PROTECTED] wrote: > > I've read the documentation on the django site, I've searched google > and I've tried the one solution that I managed to find,

Re: Encrypted Admin?

2006-05-27 Thread Ian Holsman
I would also set up the apache instance to limit access to the admin pages 's to certain IP ranges. (say of your ISP) On 28/05/2006, at 1:13 PM, James Bennett wrote: > > On 5/27/06, Jay Parlar <[EMAIL PROTECTED]> wrote: >> I'm just wondering what most people do about encrypting their Admin,

Re: Tagging app

2006-05-27 Thread Ian Holsman
Hi Luke. what license is this code under? On 27/05/2006, at 12:03 PM, Luke Plant wrote: > > On Friday 26 May 2006 22:37, Jacob Kaplan-Moss wrote: > >> Looking forward to seeing your code, > > OK, you can now get it here: > > http://files.lukeplant.fastmail.fm/public/python/ >

Re: Tagging app

2006-05-25 Thread Ian Holsman
just as an aside, I've also written a similar tagging app, which covers about 70% of the same functionality as Luke's personally I'd love a 'standard' tagging app in contrib which combines the best of both worlds, as it seems like this functionality is what most users: a) want b) struggle

Re: I need instructions in best way to use django under IIS shared hosting (Python is installed)

2006-05-25 Thread Ian Holsman
On 26/05/2006, at 7:15 AM, Jeremy Dunck wrote: Note that if you are stuck on Windows, Apache + mod_python + MySQL + Django works very well. Doesn't pre-forking apache on windows scale badly due to window's high process startup cost?  I guess it'd depend how often you recycle your httpd

Re: Slicing [-1] on objects.all()

2006-05-25 Thread Ian Maurer
st to access one row. For more information about the amazing Django QuerySets, check out this link: http://www.djangoproject.com/documentation/db_api/ This section discusses slicing specifically: http://www.djangoproject.com/documentation/db_api/#limiting-querysets Hope that helps, ian On 5/25/06

Re: Post data for multi step form

2006-05-24 Thread Ian Holsman
On 25/05/2006, at 3:11 AM, Bill de hÓra wrote: > > tomass wrote: >> > > I actually like that solution (among other things it scales on a > cluster > without hammering a central db or having to distribute sessions). > But if > you want you could store data on the server and pass a form

Re: I need instructions in best way to use django under IIS shared hosting (Python is installed)

2006-05-23 Thread Ian Holsman
your not understanding reverse proxying. the ':3000' is not visible to the outside. IIS would need to forward the request to the port and then push the response back to you something like this http://www.saltypickle.com/Home/16 is what I am talking about On 24/05/2006, at 8:38 AM, [EMAIL

Re: I need instructions in best way to use django under IIS shared hosting (Python is installed)

2006-05-23 Thread Ian Holsman
On 24/05/2006, at 8:08 AM, [EMAIL PROTECTED] wrote: > re. > > So, what are the alternatives? (excluding getting a linux box) you can run apache2.2 on windows quite well. if IIS has a proxy type solution you could just run apache2.2 on a separate port and have it handle the django side of

Re: Django on Intel mac?

2006-05-22 Thread Ian Holsman
I'm using mysql. if you paste the actual compiler error (either on list or privately) I'll try to help. regards Ian On 22/05/2006, at 8:06 PM, Oliver Kiessler wrote: > > thanks for the hint. I have Django with MacPython-2.4.3 running now. > what database adapter are you using

Re: Django on Intel mac?

2006-05-22 Thread Ian Holsman
I'm running it fine. I used the following: http://www.python.org/ftp/python/2.4.3/ Universal-MacPython-2.4.3.dmg On 22/05/2006, at 6:14 PM, Oliver Kiessler wrote: > > hi there, > I have been playing around with Django this weekend but I couldn't get > it installed on my Intel Mac running OSX

Re: Apache Localhost Django Admin Look & Feel

2006-05-21 Thread Ian Holsman
try adding alias /media/ c:\django\contrib\admin\media\ in your apache config and see if that helps. On 22/05/2006, at 12:20 PM, keukaman wrote: > > Thank you. I'm a rookie at Django, Python, & Apache. I'm running this > on my XP laptop just to learn this. I have a couple of follow up >

Re: Problem with Django Captcha

2006-05-20 Thread Ian Holsman
just as a followup to this. Scott was using the 'old pre-MR merge' version of this code, when he updated to the up2date version it worked for him regards Ian On 19/05/2006, at 10:15 PM, Scott Anderson wrote: > > Thanks for the reply, Ian. > > I have those libraries installed. I

Re: Best way to run dev and production site concurrently on same server?

2006-05-20 Thread Ian Holsman
127.0.0.1] (localhost [127.0.0.1]) by circe.holsman.net (Postfix) with ESMTP id C20B01C5D8C for <django-users@googlegroups.com>; Sun, 21 May 2006 08:50:04 +1000 (EST) Mime-Version: 1.0 Content-Type: text/plain In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]>

Re: Best way to run dev and production site concurrently on same server?

2006-05-20 Thread Ian Holsman
, and allow you to share common things like user-id's across both. regards Ian On 21/05/2006, at 2:30 AM, Luke Plant wrote: > > On Thursday 18 May 2006 23:20, Rob Hudson wrote: > >> Based on my virtual hosts, can I have the production site list: >> SetEnv DJANGO_SETTINGS_MO

Re: Custom Manipulator

2006-04-19 Thread Ian Clelland
ey) original = manipulator.original if request.POST: # code here exactly like for AddManipulator else: errors = {} new_data = original.__dict__ # generate and present form just like AddManipulator Regards, Ian Clelland <[EMAIL PROTECTED]> --~--~-~--~~~---~--~

Re: Custom Manipulator

2006-04-18 Thread Ian Clelland
to pass. The save method has to take the fields from the new_data dictionary, assign them to fields in the original object, and call original.save(). Alternately, I think you could subclass yourmodel.ChangeManipulator, and override the methods in there that you need to change, but I've never tried i

Re: OpenID?

2006-04-16 Thread Ian Clelland
her implementers some time. Well, this thread likely won't stay active on the mailing list for very long; you should look at creating a node on the Django cookbook (at http://code.djangoproject.com/wiki/CookBook) with some sample code. Regards, Ian Clell

Re: template problem

2006-04-16 Thread Ian Clelland
ave constructed yourself would be to have a template loader which searched some sort of dictionary of previously-build template objects, but I don't think that's available in django right now. I'd love to be proven wrong, however. That would come in handy in so many

Re: Ecommerce & Django

2006-04-15 Thread Ian Maurer
al purpose library that has no Django dependencies. Maybe we can model (or at least learn from) the Perl OnlinePayment library that is here: http://420.am/business-onlinepayment/ I have also collected a few other links here: http://del.icio.us/imaurer/creditcards -ian --~--~-~--~~--

Re: querying for an empty set in m-r?

2006-04-15 Thread Ian Clelland
gt; g = (x**2 for x in range(10)) >>> g >>> g.next() 0 >>> g.next() 1 >>> g.next() 4 Check out http://www.python.org/dev/peps/pep-0289/ (Generator Expressions) -- Ian Clelland <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You rec

Re: ImageField upload_to

2006-04-04 Thread Ian Clelland
ays of doing this: http://groups.google.com/group/django-users/browse_thread/thread/93c024f1523f5323/6bea5b407797e597 Ian Clelland <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: Admin in mr

2006-04-03 Thread Ian Clelland
dmin index uses the verbose_name_plural attribute, rather than verbose_name. Bryan's right, you don't generally have to specify verbose_name, if it's the same as your class name, but until version 2593, you had to specify verbose_name_plural. Update your local copy of m-r, and it should work without an explicit M

Re: Admin in mr

2006-04-02 Thread Ian Clelland
s nothing else in the class. That should be enough to get model into the admin screens. Regards, Ian Clelland <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Caching partial templates

2006-03-22 Thread Ian Maurer
value = self.nodelist.render(context) cache.set(cache_id, value, float(self.expire_time)) return value Obviously you need to have cache enabled for this to work: http://www.djangoproject.com/documentation/cache/ -- Ian Maurer --~--~-~--~~~-

MySQL error when running manage.py init on Mac OS X with Fink installed

2006-03-05 Thread Ian
and are correct. I have also tried setting and unsetting the DATABASE_HOST, but get the error message either way. Any help would be appreciated. thanks, ian. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: kicking off a scheduler

2006-03-05 Thread Ian Holsman
there is no 'functionality' inside of django which does scheduling automatically, or helps you with scheduling. what people are doing is just writing python scripts and then scheduling them via cron. you could possibly also use the event scheduler in mysql 5.1 as well if you like. regards Ian

Re: Request for ideas

2006-02-15 Thread Ian Holsman
Pick a application which is done nicely in some other language, and try implementing it in django. you could always help out with the django-forum project or possibly a CRM like vtiger or sugarcrm would be nice as well. regards Ian On 2/16/06, oggie rob <[EMAIL PROTECTED]> wrote: > &g

Re: How to pass a variable as parameter to a tag

2006-02-14 Thread Ian Holsman
doesn't something like: class TopTagsNodeUser(template.Node): """ what is the root of this application """ def render(self, context): user = context.get('user', None) if user.is_anonymous(): return "" return "User Prefs"+str(user)+" " work? On

Re: Upcoming project... 0.91 or svn or magic-removal?

2006-02-08 Thread Ian Holsman
If you are not really familiar with django, I would suggest you use the trunk. it is better documented, and more people can help you out. It is also painful debugging your code, only to find out it is a bug in the framework which happened since the last SVN checkout.. On 2/9/06, ToddG <[EMAIL

Re: scale of auth system

2006-02-07 Thread Ian Holsman
Hi Jason. Your scenario only covers a very basic scenario, where 1 user can do anything to a particular record. It kind of falls down when you need to assign rights to actions. ie..group/user X can add a new invoice, but only 'group/user Y' can modify an existing invoice. So while a constrained

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ian Holsman
That sounds like a great idea (working together), and personally I'm not too hung up about which AJAX library I use, as long as it can do the job (which most seem too for my simple things) I like the idea of having one way of doing this across frameworks, it makes them all simpler to learn and

Re: Adding errors into the form?

2006-01-08 Thread Ian Holsman
On 1/6/06, FX <[EMAIL PROTECTED]> wrote: > > Hi Ian, > Thanks for the prompt reply. (which time zone are you in?) I live in Melbourne Australia. > > I made some modifications to your Django Captcha that might be useful, > so I'm attaching the patch (generated by svn) bel

Re: Apache Authentication

2006-01-07 Thread Ian Holsman
the user in django if it doesn't exist. HTH Ian On 1/8/06, Brian Ray <[EMAIL PROTECTED]> wrote: > > Anouther issues with Authenticating this way, the Django user is still > Anonymous although the REMOTE_USER is not: > > path:/Login/, > GET:, > POST:, > COOKIES:{

Re: Debugging a production app

2006-01-07 Thread Ian Holsman
. c) admins to dislike you even more than they would normally ;-) regards Ian On 1/8/06, Eric Walstad <[EMAIL PROTECTED]> wrote: > > On Saturday 07 January 2006 02:17, WSobczuk wrote: > > I'm not saying I wnat to send information to users, I'm saying I want > > it lo

Re: Adding errors into the form?

2006-01-05 Thread Ian Holsman
Hi Feiyu. the problem is the captcha validation is the manipulator out of scope when the the validation is run. there are 2 choices. 1. the captcha view should throw a validation error (not a 404).. thats my bug, and I will fix it shortly. This will mean you will get the error message on your

Re: django_website setup

2006-01-04 Thread Ian Holsman
hi Roy. you should probably be trying the 4 tutorials and create the 'polls' application first. the django_website is not really designed for newbies, but more as a reference on how to do things. regards Ian. On 1/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > anybody can

Re: Additional User Data?

2006-01-02 Thread Ian Holsman
hmm.. have you 'init'ed your database ? ( $ django-admin.py init) also.. check out http://www.djangoproject.com/documentation/authentication/ and more specifically the get_profile() call. regards Ian On 12/31/05, Andreas Neumeier <[EMAIL PROTECTED]> wrote: > > Hello Django User

Re: Django for eCommerce?

2005-12-21 Thread Ian Holsman
site are available.. you just need to build the app. regards Ian. On 12/22/05, Michael Hipp <[EMAIL PROTECTED]> wrote: > > Jacob Kaplan-Moss wrote: > > > > On Dec 21, 2005, at 10:24 AM, Michael Hipp wrote: > > > >> How suitable is Django for an eCommerce

Re: additional data for generic views

2005-12-21 Thread Ian Holsman
if your view uses DjangoContext (which the generic views do I belive) than the user is just {{ user }} so something like {% for group in user.get_group_list %} {{ group }} {% endfor %} should work. regards Ian On 12/22/05, patrick k <[EMAIL PROTECTED]> wrote: > > while trying

Re: How to design urls like record1.domain.com

2005-12-19 Thread Ian Holsman
If you mean user as a regular user in the users table in the DB I would hack up a mod_python handler to look at the hostname, and adjust the session cookie accordingly. see http://svn.zilbo.com/svn/django/snippets/modpython_apacheauth.py for an idea on how to approach this. if you are talking

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'

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

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 i

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
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 does not have a > pag

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 screencast today,

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]>

Sites, how do I use them

2005-11-16 Thread Ian Holsman
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 complaining

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 to logged

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
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 phpBB does. &

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

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: meta.OneToOneField() problemo

2005-10-27 Thread Ian Maurer
.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 overhaul. Here a

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 ;-) regards Ian

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 t

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_to_response

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 <[EMAIL PROTEC

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
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 for opensoruceing django) --Ian

Oct 3rd: Django Presentation (CLEPY)

2005-09-25 Thread Ian Maurer
this 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] <[EMAIL PROTEC

Re: meta.OneToOneField() problemo

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

<    1   2   3   4   5   6   7   >