Re: Django Apps

2008-10-24 Thread Ian Maurer
You should probably start by looking at these 2 projects for CMS and eCommerce: http://django-cms.org/ http://www.satchmoproject.com/ Good luck and welcome to Django! regards, Ian http://itmaurer.com/ --~--~-~--~~~---~--~~ You received this message because you

Preventing Multiple Submits

2006-09-28 Thread Ian Maurer
Just wondering if anyone has thought through the problem of multiple submits due to multiple clicks of a submit button? I am already properly using POSTs and GETs and doing a redirect after a POST, as recommeded by the Django docs. The issue I am talking about is when a user clicks the submit

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

2006-07-14 Thread Ian Maurer
On 7/14/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Jul 14, 2006, at 1:18 PM, Adrian Holovaty wrote: > > Some folks benchmarked Symfony, Ruby on Rails and Django. Django was > > the fastest. > > By over 30% -- hell yeah! > That's awesome... congrats Django developers! -ian

IBM Article on TurboGears (w / Django Comparison)

2006-07-11 Thread Ian Maurer
IBM has published the 2nd part in my two-part series on Web Development frameworks. http://www-128.ibm.com/developerworks/linux/library/l-turbogears/ Also, at the end of this article I include my comparison of the 2 frameworks. I tried to be as objective as possible. Hopefully both projects

Django Article on Developerworks

2006-06-06 Thread Ian Maurer
IBM has just posted an article on mine on the IBM website (hasn't made it to the front page, yet): http://www-128.ibm.com/developerworks/linux/library/l-django/ If you notice any errors, kindly send them to me via email and I will see if I can get them fixed. Thanks to all of the contributors

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

2006-05-25 Thread Ian Maurer
Django's QuerySet handles slicing through the LIMIT and OFFSET clauses of the database. Since the clauses cannot handle python's "negative indexing" scheme, you have 2 choices: 1. Do the actual evaluation, by converting to a list and then doing your slice: list(Foo.objects.all())[-1] 2. Use

Re: Ecommerce & Django

2006-04-15 Thread Ian Maurer
On 4/14/06, ZebZiggle <[EMAIL PROTECTED]> wrote: > > I have no interest in the shopping cart, shipping, etc. ... just the > checkout and credit card processing. I'll happily do the SkipJack > driver. > > -Z > I would like to see payment processing become a general purpose library that has no

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

Re: ANN: Django site on washingtonpost.com

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

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 for > > integrating discussions into other

Re: Django presentation slides in Spanish

2005-10-28 Thread Ian Maurer
, rapto <[EMAIL PROTECTED]> wrote: > > I have translated Ian's slides into Spanish. > > download: > https://wh2001.sindominio.net/~rapto/pres_django.tbz > > online: > https://wh2001.sindominio.net/~rapto/pres_django/ > > Thanks to Ian Maurer > >

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: 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
emplate.py", line 295, in parse self.extend_nodelist(nodelist, compile_func(self, token), token) File "C:\www\django\core\template_loader.py", line 125, in do_block raise template.TemplateSyntaxError, "'%s' tag takes only one argument" % bits[0] TemplateSynta

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
TED]> wrote: > > Ian Maurer wrote: > > Is there a way to create a manipulator that will span a foreign key > > relationship, similar to the "edit_inline" feature in the Admin tool? > > > > I know I cannot leverage the edit_inline feature now (ticket #53

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

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

Re: meta.OneToOneField() problemo

2005-09-23 Thread Ian Maurer
> "svn diff" is great, in most cases. I just created this page, which > gives more details: > > http://code.djangoproject.com/wiki/PatchGuidelines Great, thanks... I felt dumb not knowing. Glad I asked. > > First, I ran into an issue with runtests.py since I use MySQL. The DB > > connection

Re: meta.OneToOneField() problemo

2005-09-19 Thread Ian Maurer
Code: 'w' Line: 42 Exception: File "C:\www\downloads\trunk\tests\doctest.py", line 1243, in __run compileflags, 1) in test.globs File "", line 1, in ? w NameError: name 'w' is not defined Let me know if I can improve on how I submit my future contributions... regards, Ian