Re: import of mysql in settings.py

2008-08-21 Thread Ian Holsman
Cortland Klein wrote: > I just had the same problem. It has something to do with MySQLdb not > being included. > > when it rain's it pours. I'm been hitting my head on the same problem. to verify that this is the case just replace 'mysql' with 'dummy' and you should be able to validate the

paul bragiel / lefora is a spammer

2008-04-09 Thread Ian Holsman
Writing it here as lefora is written on django, and he or the developer who wrote it for him will see it and be ashamed of themselves. This guy just IM'd me asking me to digg his forum software. I have never met the guy, and am assuming he also spammed other people on the mailing list. and am

Re: Xcode as Django IDE

2008-02-13 Thread Ian Holsman
Alex Ezell wrote: > Textmate works great for me. I use GetBundle > (http://projects.validcode.net/getbundle) to get the Django bundle > which does syntax completion and highlighting for Django-specific > Python files and Django template HTML. > > Textmate, and a couple of terminal windows for

Re: Rails/Django comparison synopsis

2007-03-29 Thread Ian Holsman
, Rails seems to have an advantage > of a lot of documentation, more publicity (the Hanson kid sure > knows how to work a crowd) and a nice IDE in RadRails. > > My question: how would you (you = someone with solid Django > background) characterize similarities and differences with Rails

Re: Django Hosting

2006-10-20 Thread Ian Holsman
NZ it just seems like a very cheap setup with not much thought.. but not anonymous by any means. > > > > > > > -- Ian Holsman [EMAIL PROTECTED] http://zyons.com/ build a Community with Django --~--~-~--~~~---~--~~ You received this message b

Re: (Third Attempt To Post)Complex Application Security Model

2006-10-19 Thread Ian Holsman
have thought about moving this project to > TurboGears or Rails(+Plugins) because they have libraries that address > this type of problem. I would appreciate any suggestions. > > -- Nick > > > > -- Ian Holsman [EMAIL PROTECTED] http://car-chatter.com/ where car fanatics meet

Re: (Third Attempt To Post)Complex Application Security Model

2006-10-19 Thread Ian Holsman
date, self.end_time) > >class Admin: > >list_display = ('start_date','start_time','end_date', > 'end_time',) > >class Meta: >#Add some addtional permissions to test/play with this > fuctionality. >permissions = ( >("ca

Re: Django Hosting

2006-10-19 Thread Ian Holsman
(*.doc,*.xls,*.ppt) > | Use the open alternatives. (*.pdf,*.html,*.txt) > http://www.gnu.org/philosophy/no-word-attachments.html > > >>>> return [type for type in types if type not in types_to_exclude] > If you can see the beauty, then Python got you > > > --

Re: advice needed - how to manage 100+ django sites in a scaleable, manageable setup

2006-10-17 Thread Ian Holsman
> Any ideas? I can provide more details if people would like to know, > but > really at the moment, I'm just trying to get a handle on what's > possible. > > many thanks in advance, > Tone > > > > -- Ian Holsman [EMAIL PROTECTED] http://garden-gossip.com/ --

Re: How about a Django apps public repository?

2006-10-01 Thread Ian Holsman
again was because I have some domain names I'd like to > donate which might be useful to the community. I've been sidetracked on other (non-django) issues.. hence why i've been silent on the list when I can get my head out of the water for a period I'll release what I have. regar

Re: DNS Change when moving site from PHP to Django

2006-09-20 Thread Ian Holsman
ment. > > One area that I am not sure about is how to set up the new site before > changing the DNS settings to point to the new hosting facility. For > instance, I won't be able to use "media.sitename.com" for my media > files in the new Django site until I have moved the

Re: Trackback spam in Blogs

2006-09-16 Thread Ian Holsman
r so (so that > they have to keep an attacking page up longer). in my experience, this isn't needed. most splogs just use rel=nofollow on the link. > > Cheers, > Malcolm > regards Ian -- Ian Holsman [EMAIL PROTECTED] <http://car-chatter.com/> where car fanatics meet --~--~--

Re: Has anyone run Django on a cpanel box (w/root access)

2006-09-15 Thread Ian Holsman
GI/Apache experiences in the past with Rails so I think that's a > bad idea. The only option I can think of is to recompile Apache with > mod_proxy and run Lighttpd/FastCGI proxied through Apache. > > Any other suggestions? > > Sean > > > > -- Ian Holsman [EMAIL PROTECTED

Re: Core dump- how to diagnose?

2006-09-13 Thread Ian Holsman
Especially the database driver. >> >> Python comes with a test suite. Try it. Try the Django test suite >> with different database drivers. Perhaps even post your problem >> to a python list or look for any AIX community. At least latter >> should be able to te

Re: How about a Django apps public repository?

2006-09-11 Thread Ian Holsman
s really just documentation which should > > > go in > > > a blog post or on the Django wiki. > > > > > > > > > > > > > > > > > > > > DataFly.Net > > Complete Web Services > > http://www.datafly.

Re: How about a Django apps public repository?

2006-09-10 Thread Ian Holsman
some cleanup to use outside of the site it's >> currently in. >> >> There are a couple of other things I've written up but one of them >> sucks and the other one is really just documentation which should >> go in >> a blog post or on the Django wiki. >>

Re: Shared Hosting suggestion

2006-09-07 Thread Ian Holsman
t required. (It also uses mod-python) regards Ian > > -- Ian Holsman [EMAIL PROTECTED] http://car-chatter.com/ where car fanatics meet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: How about a Django apps public repository?

2006-09-06 Thread Ian Holsman
y in Django is *really* cool (Rails > can't do that). So why not leverage the "pluggability" of Django's > app architecture by making a bunch of these apps public? > > Am I alone on this? If I created such a repository would anyone use > it? > > Sean > > >

Re: PyCaptcha for the Zyons Project

2006-09-04 Thread Ian Holsman
> > Best Regards, > Aidas Bendoraitis [aka Archatas] > > > -- Ian Holsman [EMAIL PROTECTED] join http://gypsyjobs.com the marketplace for django developers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: Django patch!

2006-09-01 Thread Ian Holsman
v and we'll whitelist you. > > after all even core developers have been flagged at times, and > everyone knows why, so this is a non issue > > -- > > regards > kg > http://lawgon.livejournal.com > http://nrcfosshe

Re: Admin looking for media/css/null?

2006-08-27 Thread Ian Holsman
; > > What am I doing wrong? > > -- > Cole Tuininga > http://www.tuininga.org/ > > > -- Ian Holsman [EMAIL PROTECTED] http://economy-chat.com It's what the economists talk about --~--~-~--~~~---~--~~ You received this message becau

Re: User Registration weirdness. Ian, help!

2006-08-26 Thread Ian Holsman
gt; The old school solution was to surround the url with angle brackets > <>. Intelligent mail readers would recognize this and display the url > correctly. > > http://www.w3.org/Addressing/URL/5.1_Wrappers.html > > Why do people put angle brackets around : > > http://idea

Re: User Registration weirdness. Ian, help!

2006-08-25 Thread Ian Holsman
EMAIL PROTECTED]') and register. It does that already. it uses your secret-key as part of the crypt string. -- Ian Holsman [EMAIL PROTECTED] http://VC-chat.com It's what the VC's talk about --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: import opml file

2006-08-24 Thread Ian Holsman
you might want to check out FeedJack http://www.feedjack.org/ it's done a lot of stuff in that area. regards Ian On 24/08/2006, at 5:42 PM, a wrote: > > hi guys how do i import opml file in django > using syndication > > i m tryin to build an rss reader > thanks >

Re: my private django repository goes public

2006-08-23 Thread Ian Holsman
Regards, > Dirk > -- > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > -- Ian Holsman [EMAIL PROTECTED] http://economy-chat.com It's what the economists talk about --~

Re: HTTPS access

2006-08-23 Thread Ian Holsman
::https, open-uri and the rio library." > (http://www.juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/) > > I would like django to connect to gmail via HTTPS and get the contact > list of a user. I used to do it with PHP+Curl. Is there a library in > django like curl? >

Re: Creating a "mostly static" site with Django -- dumb idea?

2006-08-21 Thread Ian Holsman
ages. >> >> One quick question: >> >> What if I have a bunch of static pages but they all include a bit of >> dynamic content in the sidebar (pulled from the database)? How can I >> include that without writing a view method for every page? >> >> Cheers, >

Re: Login not working: Site matching query does not exist.

2006-08-21 Thread Ian Holsman
having this problem (neglected it for a while, but now is > the > time I MUST solve it). Has anybody here a suggestion in which > direction > to search? > > > > -- Ian Holsman [EMAIL PROTECTED] http://garden-gossip.com/ -- what's in your garden? --~--~-~--~~---

Re: real-world Django examples

2006-08-19 Thread Ian Holsman
On 20/08/2006, at 8:13 AM, Jay Parlar wrote: > > Ian Holsman makes the source of zyons.com available. this powers a couple of different websites: - http://gypsyjobs.com and - http://garden-gossip.com being 2 examples. regards Ian > > As well, Jeff Croft makes the source for lost-

Re: check for yourself (((;

2006-08-18 Thread Ian Holsman
On 18/08/2006, at 4:39 PM, Ian Clelland wrote: > > On 8/17/06, Ian Holsman <[EMAIL PROTECTED]> wrote: >> this is how various worms spread in the past. they did a google >> search for a specific 'feature' >> and then with a known vulnerability in hand, they

Re: check for yourself (((;

2006-08-17 Thread Ian Holsman
s http://www.naplesnews.com/ > Samba Team http:// > www.samba.org/ > -- Ian Holsman [EMAIL PROTECTED] http://VC-chat.com It's what the VC's talk about --~--~-~--~~~---~--~~ You received this message because you are

Re: check for yourself (((;

2006-08-17 Thread Ian Holsman
pers know this, and know how to > do this already... > > -- > "May the forces of evil become confused on the way to your house." > -- George Carlin > > > -- Ian Holsman [EMAIL PROTECTED] http://zyons.com/ build a Community with Django --~--~-~--~--

Re: showing future events only?

2006-08-16 Thread Ian Holsman
tetime into urls.py or something? > > I'm passing > show_dict = { > 'queryset': Show.objects.filter(show_date__gte=datetime.now()), > 'template_object_name': 'show', > 'allow_empty': 'true', > } > > but it throws an error: > NameError at /shows/ > name 'd

Re: Accessing db_table in _pre_save()

2006-08-15 Thread Ian Holsman
hard-coding the name. > > Is it possible to access the table name of a model from one of it's > methods? > > Thanks. > > > (I'm using Django 0.95, btw) > -- Ian Holsman [EMAIL PROTECTED] join http://gypsyjobs.com the marketplace for django developers --~--~-~--

Re: Locking problem with mod_python

2006-08-15 Thread Ian Holsman
aren't semaphores inter-process (not cross process)?try using a file handle instead..regardsIan.On 16/08/2006, at 11:49 AM, Daniel Poelzleithner wrote:Hi,I have a function that generates a tile for a google map overlay andwrites it to disc so later requests can simply use the file. Due thenature

Re: How do I store project in subversion?

2006-08-15 Thread Ian Holsman
. also how do you guyshandle different settings.py files amongest developers.--Ian Holsman[EMAIL PROTECTED]http://med-chatter.com/ it's about the medicine --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: question about huge websites

2006-08-15 Thread Ian Holsman
level socket stuff" I've seen is about setting timeouts and doing Async IO.regardsIan --Ian Holsman[EMAIL PROTECTED]join http://gypsyjobs.com the marketplace for django developers  --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: subdomains in django

2006-08-15 Thread Ian Holsman
totrickery in django.otherwise you could write some middleware to do the same thing aswell I think.On 15/08/2006, at 10:47 AM, a wrote: can you point out how to do this in django and in pythonthanks a bunch --Ian Holsman[EMAIL PROTECTED]http://car-chatter.com/ where car fanatics meet--Apple-Mail-14

Re: Django neophyte question.

2006-08-14 Thread Ian Holsman
cherryPy and PythonPaste from behind the firewall, so Iknow it's not a port issue.I'm sure I'm missing something simple. Please let me know what urlparameter to set to access my page from a remote machine.Thank you,Gloria --Ian Holsman[EMAIL PROTECTED]join http://gypsyjobs.com the marketplace f

Re: subdomains in django

2006-08-14 Thread Ian Holsman
to trickery in django.otherwise you could write some middleware to do the same thing as well I think.On 15/08/2006, at 10:47 AM, a wrote:can you point out how to do this in django and in pythonthanks a bunch --Ian Holsman[EMAIL PROTECTED]http://car-chatter.com/ where car fanatics meet

Re: what features do you like to see in a rss reader

2006-08-13 Thread Ian Holsman
://www.applinet.nl --Ian Holsman[EMAIL PROTECTED]http://med-chatter.com/ it's about the medicine --~--~-~--~~~---~--~~ 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: stripogram as middleware or templatetag

2006-08-11 Thread Ian Holsman
Hi Dirktryhttp://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/middleware/SafePost.py(it uses stripogram)It doesn't remove all the exploits to be sure, but it raises the bar a bit.regardsIan.On 12/08/2006, at 8:06 AM, Bryan Chow wrote:What exactly are you trying to achieve with

Re: Google-like API keys

2006-08-10 Thread Ian Holsman
personally I would DES encrypt their email address.that way you have a contact if something goes wrong.On 11/08/2006, at 3:01 AM, Jyrki Pulliainen wrote:On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote: On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote: Nowadays(is that a word?) a lot of fancy web

Re: Using custom forms with generic views

2006-08-08 Thread Ian Holsman
, is there a compelling reasonto use AddManipulator or other manipulators instead of justobject.save()? --Ian Holsman[EMAIL PROTECTED]http://peopleintopoker.com/ -- where the poker people go --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: usage of GenericForeignKey ?

2006-08-07 Thread Ian Holsman
t_id = models.IntegerField(_('object ID'), db_index=True)???Django version from SVN-trunk 3534.Regards,Dirk--  --Ian Holsman[EMAIL PROTECTED]http://peopleintopoker.com/ -- where the poker people go --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: How can I use variables in included URLConf's before they are sent to views?

2006-08-06 Thread Ian Holsman
URLconfand use them to build my queryset? --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Off Topic: Mac software for database design?

2006-08-04 Thread Ian Holsman
/CocoaMySQL was abandoned a while back ;-(.another developer started updating it, and called it CocoaMySQL SBG http://www.theonline.org/cocoamysql/I recommend using that version instead of the original.. regardsIaj-joh --Ian Holsman[EMAIL PROTECTED]http://zyons.com/ build a Community

Public Domain ( was Re: Full Text Search w/ MySQL)

2006-08-04 Thread Ian Holsman
provides no protection for anyone if the donated software causes  harm.ie.. even if you didn't mean it, if I used a piece of public domain code in a app I write and it fails,i can still go after the person who wrote it and sue them.thanks.. that makes my chest feel much lighter. --Ian Holsman[EMAIL

Re: Rejoice! No more editing hashes when creating users

2006-08-04 Thread Ian Holsman
On 04/08/2006, at 3:37 PM, Malcolm Tredinnick wrote:On Fri, 2006-08-04 at 15:13 +1000, Ian Holsman wrote:[...] I like the idea of a change password view, could I twist your arm a bit and make it a  'generate random passwordand email it to the user view' instead of 'set password' ?and possibly have

Re: Rejoice! No more editing hashes when creating users

2006-08-03 Thread Ian Holsman
dd user" thing.Adrian-- Adrian Holovatyholovaty.com | djangoproject.com --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com the marketplace for django developers  --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Is AJAX Alone Reason to Use TG?`

2006-08-03 Thread Ian Holsman
I just came across this presentation: http://domscripting.com/presentations/xtech2006/which describes a new layer/methodolgy on how ajax should be implemented.I personally would think implementing something like this would be a step forwardand we could then argue about if mochikit or dojo or yui

Re: Project when using multiple sites

2006-08-02 Thread Ian Holsman
Hi Jay.I have a similar issue.I have stuff in http://zyons.com, which is open source, and another set of apps which build on top of it which run on multiple hosts. (http://gyspsyjobs.com & http://car-chatter.com for example)the way I set it up is:project/ common/ app1/ templates app2/

Re: customize admin

2006-08-01 Thread Ian Holsman
Hi Gen-Nan.you can override the template that the admin app uses to generate the listing page if that helps.so for example in my performance monitoring app, I created a template admin/perf/log/change_list.htmland put that file in my template directory.now when i click on the 'perf/log' model in

Re: Django source editing offtopic

2006-08-01 Thread Ian Holsman
vim.mainly because it works on nearly any platform I need to go into.and my fingers are trained after years of using it.On 02/08/2006, at 9:29 AM, Joseph Heck wrote:On the Mac, I used TextWrangler (http://www.barebones.com/products/textwrangler/ also free, from Bare Bones Software) and liked it

Re: Tracking views or clicks

2006-07-31 Thread Ian Holsman
have a look at http://svn.zyons.python-hosting.com/trunk/zilbo/common/counter/and the blog entries I wrote about this yesterday: http://zyons.com/blog/status/a-better-stat-page/ and http://zyons.com/blog/status/where-have-you-been/it is a more general approach than what you propose, as it tracks

Re: non date-based detail pages: previous/next?

2006-07-30 Thread Ian Holsman
you might want to do this 'work' when the user actually requests the page in question, not when you generate the one he is looking at.for example have 2 views defined in urls.pygetnext/(object-id)/getprev/(object-id)/and have these 2 views do the calculation on what is 'next' and issue the 301

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
could it be that you only have 256M on the machine? --Ian Holsman[EMAIL PROTECTED]http://economy-chat.com It's what the economists talk about --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
Hi Andrew.I have no idea from the information you have provided me.are you running it via mod-python, fastcgi, or the django-admin?besides from actually uploading your app somewhere where people can see, I'm not sure what else we can do.FWIW.. I will only look at your code if it's open source..

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
, postgresql-8.1.4 or postgresql-8.0., fresh svndjango.Every url takes 60 or more seconds to load.For comparison, Zope takes 2-3 sec.How speed up it? --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about --~--~-~--~~~---~--~~ You received

Re: Generic views and dates in the future

2006-07-27 Thread Ian Holsman
On 08/07/2006, at 12:12 AM, Jan Claeys wrote:On do, 2006-07-06 at 17:03 -0400, Jay Parlar wrote: On 7/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: If I were to write a backwards compatable patch, is it something you'dbe willing to put in? I'm thinking along the lines of a keywordargument

Re: Search Engine for Python and Django

2006-07-23 Thread Ian Holsman
SolR  http://incubator.apache.org/projects/solrmight be worth a look.. I think there is a python interface for it.regardsIan.On 24/07/2006, at 1:08 PM, Vizcayno wrote:Hi:Do your have news about the promising MerQuery?I was looking for some good open software Search Engine API (index andsearch) for

Re: Syndication and authentication question

2006-07-22 Thread Ian Holsman
for the first time with Django and waswondering if there is anyway to do authentication (i.e. grab thesession) from inside the my Feed class? I followed the high levelframework example from the documentation page if that helps inunderstanding how I implemented this feed.Thanks,Aaron Farnham --Ian

Re: request for applications

2006-07-21 Thread Ian Holsman
in another language that hasmost of the features you like, and see how it works if you are looking for the business logic.There are several OSS applications in django land if you want to see how models/views/urls interact.regardsIanTim --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com

Re: How to debug ajax transfer

2006-07-21 Thread Ian Holsman
how to get the errors at this case? Is there an easy way tooutput the debug to somewhere manually? --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com the marketplace for django developers  --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: ContentTypes usage

2006-07-20 Thread Ian Holsman
://www.djangoproject.com/documentation/models/generic_relations/and also from the code of django.contrib.comments Thank you very much for this one! I'll try to figure it out.regards,Uros --Ian Holsman[EMAIL PROTECTED]http://zyons.com/ build a Community with Django

Re: Is Django the framework I've been looking for?

2006-07-20 Thread Ian Holsman
first app in Django, instead of Rails, and from then I've been hooked. --Ian Holsman[EMAIL PROTECTED]http://economychat.com discussion on the economy and economics in general --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: Caching in Django admin

2006-07-20 Thread Ian Holsman
is there a similar decorator to cache the output of a tag?regardsIanOn 20/07/2006, at 6:28 PM, Axel Steiner wrote:Hi, It looks like the right way to deal with this is to implement per pagecaching, but that doesn't look too simple to me. I hope that someonewill prove me wrong by posting some simple

Re: Having problems getting started with Zyons

2006-07-19 Thread Ian Holsman
try order by 3 descOn 19/07/2006, at 8:40 PM, tonemcd wrote:I dug around a little, http://archives.neohapsis.com/archives/mysql/2005-q2/1966.html">thishelped a lot - and I found that this works (4.1.18-standard);mysql> select

Re: Having problems getting started with Zyons

2006-07-19 Thread Ian Holsman
hmm..the SQL shouldn't be that complex.. it's pretty standardcan you try running it without the date ?or perhaps changethe with content_type_id in (30) to content_type_id = 30On 19/07/2006, at 8:10 PM, tonemcd wrote:Ian,I think that's it - it definitely causes an SQL error on

Re: Having problems getting started with Zyons

2006-07-19 Thread Ian Holsman
didn't 'diss' it at all.bugs happen.have you tried running the SQL directly from the mysql command prompt?it doesn't cause an error on mysql 5.0.16 or 5.1.11;(maybe the trackback will help.On 19/07/2006, at 7:56 PM, tonemcd wrote:Sorry Ian, I didn't mean to diss your application in the

Re: Having problems getting started with Zyons

2006-07-19 Thread Ian Holsman
Hi Tony.Thanks for giving Zyons a whirl.'popular_objects' is part of the 'counter' app which tracks what people are viewing.you don't need it installed for the rest of the app to run.that being said.he SQL you are showing me doesn't seem to contain the 'group by' command which looks like it is

Re: how to email a password

2006-07-18 Thread Ian Holsman
I do something similar to Kenneth.the other approach is to use something like OpenID, and make it somebody else's problem.On 19/07/2006, at 3:16 PM, Kenneth Gonsalves wrote:On 18-Jul-06, at 9:20 PM, va:patrick.kranzlmueller wrote: next problem with my user registration process:how do I send the

Re: How to get django to show me the sql it executed recently?

2006-07-17 Thread Ian Holsman
http://zilbo.com/@perfmon captures this kind of information on a per- request basis. On 18/07/2006, at 12:06 PM, Malcolm Tredinnick wrote: > > On Mon, 2006-07-17 at 18:44 -0700, Scott Chapman wrote: > [...] >> p.s. Any chance this could be added to the Admin interface. It's the >> intuitive

Re: Django vs. Rails vs. Symfony: Django is fastest

2006-07-16 Thread Ian Holsman
is this a test of django vs pylons or a test of mod_python vs wsgi ? a pre-test showing a serving a simple static page through both of them (also 15k) would highlight if django's templating engine is indeed faster than pylons. (and it might convince the pylons team to use mod-python instead of

Re: Perspective on building a community blog in a short timeframe

2006-07-15 Thread Ian Holsman
maybe http://zyons.com will do what you need (or provide a base for it at least) On 15/07/2006, at 4:06 AM, Joe Murphy wrote: > > Yup, I caught that earlier today, it's a good start. I think the > details that matter here are the timeline, ease-of-use by a > non-technical audience, and hacking

Re: Set up problems ( webfaction )

2006-07-13 Thread Ian Holsman
Hi Iain. in your apache config do something similar to http://svn.zyons.python-hosting.com/trunk/zilbo/conf/zyons.conf.tmpl and that will let the apache handle the 'images' area of your site instead of django. On 14/07/2006, at 12:02 PM, Iain Duncan wrote: > > I'm setting up a sight on

Re: Atomic value increment

2006-07-12 Thread Ian Holsman
why not use a GUID ? http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/163604 On 13/07/2006, at 8:08 AM, Jay Parlar wrote: > > On 7/12/06, Don Arbow <[EMAIL PROTECTED]> wrote: >> >> On Jul 12, 2006, at 8:56 AM, Jay Parlar wrote: >>> >>> Is there a better way to do this? More specifically,

Re: Announce: Django Performance Monitoring

2006-07-10 Thread Ian Holsman
Hi Favo, It's free if you work on a OSS project. regards Ian On 11/07/2006, at 12:21 AM, favo wrote: > > Ask very carefully, Do you want to make it OS? > If you feel not happy with the question, just ignore it please. > > > > --~--~-~--~~~---~--~~ You received

Re: Problem with middleware

2006-07-09 Thread Ian Holsman
Hi Gullermo.I've done the same thing here:http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/middleware/lastseen.pyby the looks of it you are forgetting to actually store it.ie      request.session['sysvortex_last_visit'] =  datetime.datetime.now() cheersIan.On 09/07/2006, at 11:56 PM,

Re: Announce: Django Performance Monitoring

2006-07-09 Thread Ian Holsman
Thanks Jeremy. I'll add that feature shortly. On 10/07/2006, at 6:06 AM, Jeremy Dunck wrote: > > On 7/9/06, Ian Holsman <[EMAIL PROTECTED]> wrote: >> you can find out more about it here: http://zilbo.com/@perfmon > > On the log detail screen, and if the response MIME

Announce: Django Performance Monitoring

2006-07-09 Thread Ian Holsman
Perform is a tool to help you diagnose your performance and QA issues within your Django application.you can find out more about it here: http://zilbo.com/@perfmonI've decided to charge $20 for it. People using it for debugging open source projects can get it for free. regardsIan

Re: Don't make me wait!

2006-07-09 Thread Ian Holsman
I actually started writing a queueing system a while back (and lost it during a hard drive crash) I recommend you look at hugo's stuff.jobcontrol package https:// simon.bofh.ms/django-projects/stuff/trunk/jobcontrol/ as a base. regards Ian On 09/07/2006, at 6:07 PM, wiz wrote: > > On

Re: Deploying and set up on shared hosting?

2006-07-08 Thread Ian Holsman
my experiences have been vastly different to yours James. I found the attitudes of the admins to be very blasé. with a 'what do you expect for a shared host' type response. I would recommend going with someone who actually wants the business and knows how to support django. On 09/07/2006, at

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 > powered by

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

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
On 06/07/2006, at 4:56 AM, [EMAIL PROTECTED] wrote: > > So does your database only have one user created and you specify > that in > the settings file or whenever you want to inspect the database by > hand? > > I'm under the impression that having a separate database user for the > web

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@googlegroups.com To

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
On 27/06/2006, at 6:48 AM, Jos Yule wrote: > > I'm in the prototype phase for designing a time tracking/invoicing > tool > for my small business. First i'd like to know if anyone has already > done this kind of thing? > > If not, i'd like to make something available to other looking for this

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

2006-06-25 Thread Ian Holsman
Hi. I'd like to announce the initial release of Gypsy Jobs (http:// gypsyjobs.com/ ) a job matching service dedicated to helping developers find work using Django. It is a beta product, which started about two weeks ago, and thanks to the power of django is a reality now. your comments

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

  1   2   >