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 m

Re: Rails/Django comparison synopsis

2007-03-29 Thread Ian Holsman
ure. On a quick-read basis, 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 similarit

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

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

2006-10-19 Thread Ian Holsman
t; solution to this issue. I 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.co

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

2006-10-19 Thread Ian Holsman
eturn "%s, %s, %s, %s " %(self.start_date, self.start_time, > self.end_date, self.end_time) > >class Admin: > >list_display = ('start_date','start_time','end_date', > 'end_time',) > >class Meta: >#Add s

Re: Django Hosting

2006-10-19 Thread Ian Holsman
losed > | format.(*.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

Re: settings

2006-10-14 Thread Ian Holsman
uot;/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/conf/ > __init__.py", > line 27, in __getattr__ > self._import_settings() > File > "/usr/lib/python2.4/site-packages/Django-0.95-py2.4.egg/django/conf/ > __init__.py", > line 54, in _im

Re: How about a Django apps public repository?

2006-10-01 Thread Ian Holsman
this thread 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

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 move

Re: Trackback spam in Blogs

2006-09-16 Thread Ian Holsman
n (3) after 24 hours or 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

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

2006-09-14 Thread Ian Holsman
bad > FastCGI/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

Re: Core dump- how to diagnose?

2006-09-13 Thread Ian Holsman
any C extension modules. >> 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 &

Re: How about a Django apps public repository?

2006-09-11 Thread Ian Holsman
> > > sucks and the other one is really just documentation which should > > > go in > > > a blog post or on the Django wiki. > > > > > > > > > > > > > > > > > > > > DataFly.Net > > Complete Web S

Re: How about a Django apps public repository?

2006-09-10 Thread Ian Holsman
lthough it would need 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 o

Re: to login or not to login, that is the question

2006-09-10 Thread Ian Holsman
Should I use the django provided auth system > with my student database as a backend, or should I create my own > thing? > > Thanks for your opinions! > > Tamara > > > > > -- Ian Holsman [EMAIL PROTECTED] join http://gypsyjobs.com the marketplace for django developers --

Re: Shared Hosting suggestion

2006-09-07 Thread Ian Holsman
o root 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 u

Re: How about a Django apps public repository?

2006-09-06 Thread Ian Holsman
are modular plug-and-play 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 >

Re: Returning images with Django

2006-09-04 Thread Ian Holsman
he web browser. > > Can the HttpResponse returned by a View object contain an image? are > there any examples? > Is this possible and the best way to do it? > > thanks in advance > -- Ian Holsman [EMAIL PROTECTED] http://garden-gossip.com/ -- what's in your garden?

Re: PyCaptcha for the Zyons Project

2006-09-04 Thread Ian Holsman
o me? > > 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

Re: Django patch!

2006-09-01 Thread Ian Holsman
ail to >> django-dev 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.livejou

Re: Admin looking for media/css/null?

2006-08-27 Thread Ian Holsman
SetHandler None > > > 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 re

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:/

Re: User Registration weirdness. Ian, help!

2006-08-25 Thread Ian Holsman
x27;[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 becau

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: Webdav access - OT

2006-08-23 Thread Ian Holsman
//www.atmarkit.co.jp/flinux/special/webdav03/webdav01a.html describes something similar to what you want by the looks of the pictures (but in japanese) > > That said, Googling "python webdav server" gives me http:// > sandbox.xerox.com/webdav/, which at first glance might be what yo

Re: my private django repository goes public

2006-08-23 Thread Ian Holsman
call. > > 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 ta

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
pages. >> >> 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
te: > > I'm still 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 you

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-17 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, t

Re: check for yourself (((;

2006-08-17 Thread Ian Holsman
evurandom.org/ > Web Developer, Naples News 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 --~--~-~--~~~---

Re: check for yourself (((;

2006-08-17 Thread Ian Holsman
*hope* that web developers 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
rt datetime 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', > } > > bu

Re: Accessing db_table in _pre_save()

2006-08-15 Thread Ian Holsman
t 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 of

Re: How do I store project in subversion?

2006-08-15 Thread Ian Holsman
.pyc files in subversion. 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 subscribe

geographic targeting with django

2006-08-15 Thread Ian Holsman
Hi.does anyone know of a python module/interface to allow me to determine what state a given IP# is in?(Open source preferably) --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about --~--~-~--~~~---~--~~ You received this messa

Re: question about huge websites

2006-08-15 Thread Ian Holsman
;low 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

Re: subdomains in django

2006-08-15 Thread Ian Holsman
write without having to resort 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 ca

Re: Django neophyte question.

2006-08-14 Thread Ian Holsman
rks in 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://gypsyj

Re: subdomains in django

2006-08-14 Thread Ian Holsman
te without having to resort 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-chatte

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

2006-08-13 Thread Ian Holsman
sIan-- Renéhttp://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

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 Strip-o-Gram

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 s

Re: Using custom forms with generic views

2006-08-08 Thread Ian Holsman
the code.regardsIanOn 08/08/2006, at 2:45 AM, jeffmikels wrote:Thanks for your help. I ended up creating a view to do the work. If thedata is simple enough and just plain text, is there a compelling reasonto use AddManipulator or other manipulators instead of justobject.save()? --Ian Holsman[EMAIL P

Re: usage of GenericForeignKey ?

2006-08-07 Thread Ian Holsman
object_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 yo

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

2006-08-06 Thread Ian Holsman
ariables that were collected in the main 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 "

Re: Off Topic: Mac software for database design?

2006-08-04 Thread Ian Holsman
sourceforge.net/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-johnnnn --Ian Holsman[EMAIL PROTECTED]http://zyons.com/ build a

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

2006-08-04 Thread Ian Holsman
t-Away” license 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.

Re: Rejoice! No more editing hashes when creating users

2006-08-03 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'

Re: Rejoice! No more editing hashes when creating users

2006-08-03 Thread Ian Holsman
I'm just glad we'vefinally fixed the "Add user" thing.Adrian-- Adrian Holovatyholovaty.com | djangoproject.com --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com the marketplace for django developers  --~--~-~--~~~---~--~~ You received this mess

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 or

Re: Project when using multiple sites

2006-08-02 Thread Ian Holsman
On 02/08/2006, at 10:29 PM, Jay Parlar wrote:On 8/2/06, Ian Holsman <[EMAIL PROTECTED]> wrote: and obviously not all the sites are identical (they have different hostnamesand possibly different things enabled for that site) .. they go in thesite_NN directory.I usually have a group of '

Re: Project when using multiple sites

2006-08-01 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/ templat

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 the

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 sig

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 mu

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 redi

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

Re: Loading an url takes 60 sec.

2006-07-28 Thread Ian Holsman
Hz, 256 MB, 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 --~--~-~--~~~---~-

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 'allow

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
arnham wrote:I am messing with feeds 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 implemen

Re: request for applications

2006-07-21 Thread Ian Holsman
OSS classified application 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]

Re: How to debug ajax transfer

2006-07-21 Thread Ian Holsman
ow 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

Re: ContentTypes usage

2006-07-20 Thread Ian Holsman
n learn about ContentTypes fromhttp://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://

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

2006-07-20 Thread Ian Holsman
27;s the main reason I chose to develop my 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 b

Re: shared apps accross multiple sites/projects

2006-07-20 Thread Ian Holsman
cific folder in my template path which overrides any project-specific ones.that way if site #4 wants to do something crazy it goes in site_4_templates/.regardsIan --Ian Holsman[EMAIL PROTECTED]http://economychat.com discussion on the economy and economics in general --~--~-~--~~---

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, href=""http://archives.neohapsis.com/archives/mysql/2005-q2/1966.html">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 co

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 MySQL4.1.18-standard.D

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 maindiscusss

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 pres

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 pas

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 webfa

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: [Newbie] Django & Cookies

2006-07-10 Thread Ian Holsman
request.COOKIE.get('foo',None) should do the trick On 10/07/2006, at 6:05 PM, Tom Davis wrote: > > Okay, this is a pretty simple question with probably a "duh" answer, > but I read the docs page on sessions and it doesn't specify, so here > goes: > > Say I have some php (or whatever) page that

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, Gu

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

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 7/6/06

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 9:

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 djan

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 li

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) act

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 wro

Re: PostgreSQL vs. MySQL

2006-07-06 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/ > temp

Re: Generic views and dates in the future

2006-07-06 Thread Ian Holsman
I created a mix between the date-based generic view and the object- list view which I call 'history_view' (http://svn.zyons.python- hosting.com/trunk/zilbo/common/utils/views/filter.py ) it allows you show things starting from/ending on a specific date. an example of this is http://economy-cha

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 serve

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 way

  1   2   >