Understanding FloatFields

2006-04-13 Thread DavidA
I'm a little confused about FloatFields and I was hoping someone could shed some light. They seem to be represented in the DB as 'numeric' but exist in Python as strings: class FundCapital(models.Model): fund = models.ForeignKey(Fund) date = models.DateField() capital =

Re: Django vs Rails

2006-04-13 Thread James Bennett
On 4/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > You have good friends, they are giving you great advice. Rails is in > it's second production release, has a huge following, and a number of > books to help document it. Django is still in a major development > phase and is geared

Re: Django vs Rails

2006-04-13 Thread [EMAIL PROTECTED]
Glenn Tenney wrote: > Several friends have been pushing me to look at Rails, so I've been reading > through "Agile Web Development with Rails". You have good friends, they are giving you great advice. Rails is in it's second production release, has a huge following, and a number of books to

Re: possible to filter ManyToMany results?

2006-04-13 Thread nkeric
Ivan Sagalaev wrote: > nkeric wrote: > > >hello, could anybody pls help? I don't want to write dirty sql if I > >could do it via django ORM... > > > > > Well... The only thing I could work out is this: > > articles = [a for a in g.get_article_list() if a.article_type_id == 1] Ivan, thanks a lot

Re: Ecommerce & Django

2006-04-13 Thread ZebZiggle
How about "Reinhardt"? Django's last name. -Z --~--~-~--~~~---~--~~ 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 unsubscribe from this

Re: Importing external modules/classes

2006-04-13 Thread arthur debert
Hi Cary. that depends if you're using magic-removal or trunk. On the m-r branch there are no "magic" modules, whatever is on your path can be imported as usual. if you're using trunk, you must import inside your models methods, or user module_constants (

Re: Importing external modules/classes

2006-04-13 Thread Joseph Kocherhans
On 4/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I've developed a library of code in python that I reuse across multiple > projects, and I wanted to be able to use some of these classes/modules > with Django but I've had some problems. I have defined the PYTHONPATH > env variable (in

Importing external modules/classes

2006-04-13 Thread [EMAIL PROTECTED]
Hello, I'm fairly new to Django, so apologize if this question is fairly basic. (I did search for related topics but didn't find anything that seemed to answer my exact question.) I've developed a library of code in python that I reuse across multiple projects, and I wanted to be able to use

Django users meetup in Palo Alto on April 27th

2006-04-13 Thread Jacob Kaplan-Moss
Howdy folks -- I'm organizing a Django users meetup in Palo Alto (CA) on April 27th. If you live in the area and want to meet up with other Djangonauts (over free food!), check out the details at http://www.jacobian.org/ 2006/apr/12/django-meetup-palo-alto/ and let me know to expect you

Re: Ecommerce & Django

2006-04-13 Thread Chris Moffitt
> DesperateCodeHusbands? No, wait...that just sounds bad I like it. However, it's probably a little limiting for future use. One question I have around the name Django. I noticed on the website that it's copyrighted so we probably couldn't use it in the name. Is that true? Also, I

Re: Fate of 0.91 projects

2006-04-13 Thread Adrian Holovaty
On 4/13/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote: > The one thing I am slightly concerned about is the fact that the MR > branch is lingering and lingering and diverging beyond simply the > 'magic removal' goal that was set at first. > > How many more changes are expected

Re: Ecommerce & Django

2006-04-13 Thread Jeremy Jones
On Thu, 13 Apr 2006 14:02:26 -0500 (CDT) "Chris Moffitt" <[EMAIL PROTECTED]> wrote: > Any brilliant ideas? DjangoCart, > DjangoCommerce, DjangoSell, PyCommerce, PyCart, > HusbandsSupportingWivesShops? > DesperateCodeHusbands? No, wait...that just sounds bad - jmj

Re: Ecommerce & Django

2006-04-13 Thread Dave St.Germain
For what it's worth, I've written a python module that works with Authorize.net that I could contribute (after properly opensource-itizing...).On 4/13/06, arthur debert <[EMAIL PROTECTED]> wrote: "Setup a free python project on python-hosting.com"+1 on this one. when getting started we better

Re: Ecommerce & Django

2006-04-13 Thread arthur debert
"Setup a free python project on python-hosting.com" +1 on this one. when getting started we better focus on the coding right away, and python hosting's capabilities (svn + trac ) setup with no fuss will be very helpfull (it seems). " Any brilliant ideas?" not really... djell, djuy , djart

Re: Django vs Rails

2006-04-13 Thread gabor
tonemcd wrote: > That's a really good screencast - the Java-based frameworks come out > particularly badly (but the author is looking more at the rapid > applications development model, where multiple XML configs and > compiling certainly doesn't help matters) > > I was surprised at how well

Re: Django vs Rails

2006-04-13 Thread Bill de hÓra
tonemcd wrote: > I was surprised at how well Zope (Plone actually) comes out of it. I > guess he was using Archetypes to do the heavy lifting - I've found > plone to have a *very* steep learning curve. I think he used ArchGenXML. Archetypes are cool (they're a slightly higher abstraction/dsl

Re: Ecommerce & Django

2006-04-13 Thread Chris Moffitt
> I'm also working on an ecommerce site in Django for selling t-shirts, but > it > would be easily expandable to just about anything. It will interact with > Paypal's shopping cart system and USPS for shipping. It's a pretty > straight > forward port from my old PHP system, but a lot more fun

Re: Ecommerce & Django

2006-04-13 Thread Clint Ecker
I'm also working on an ecommerce site in Django for selling t-shirts, but it would be easily expandable to just about anything.  It will interact with Paypal's shopping cart system and USPS for shipping.  It's a pretty straight forward port from my old PHP system, but a lot more fun and easy. Mine

Re: Ecommerce & Django

2006-04-13 Thread bruno desthuilliers
Jeremy Jones wrote: > On Thu, 13 Apr 2006 14:21:54 - > "arthur debert" <[EMAIL PROTECTED]> wrote: > > (snip) >> > > What is it with wives and websites? Anybody out there (who's a male > married to a female) not building a website for his wife? I smell a > support group forming - Husbands

Re: Fate of 0.91 projects

2006-04-13 Thread Jeroen Ruigrok van der Werven
On 4/13/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > Depending on demand, we may release a final pre-magic-removal release > of Django -- maybe 0.91.1 or something. Or maybe it'll be 0.92 and > magic-removal will be 0.95, to signify it's a big leap. Thoughts? The one thing I am slightly

Re: Ecommerce & Django

2006-04-13 Thread Jeremy Jones
On Thu, 13 Apr 2006 14:21:54 - "arthur debert" <[EMAIL PROTECTED]> wrote: > > hi folks... > am I all for it. > I've got no experience on e-commerce but there's a few things (I > guess) I may help with... I guess this would be agreat project... > > I just suppose some "liberal licensing"

additional class info on edit_inline

2006-04-13 Thread David S .
Anyone know of a neat way to add class info to the admin interface html for fieldset that edit_inline generates? I actually want to see this inline stuff, but use a class to disable editing it. --~--~-~--~~~---~--~~ You received this message because you are

[offtopic] question on django naming choices for models relationships

2006-04-13 Thread arthur debert
Ok. This one is more of a "philosophy" question on django naming from someone who's learning django, webdev and databases at the same time. If I understand right, one of django's aim at the ORM level is to abstract the sql level, including naming. This makes a lot of sense, and when you see :

Re: Ecommerce & Django

2006-04-13 Thread arthur debert
hi folks... am I all for it. I've got no experience on e-commerce but there's a few things (I guess) I may help with... I guess this would be agreat project... I just suppose some "liberal licensing" would be nice (such as BSD or the like)... cheers arthur

Re: Django vs Rails

2006-04-13 Thread David S .
Glenn Tenney think.org> writes: > > 2. In Rails you need to declare your SQL code *and* tell Rails about > your schema, but in Django it's all very nicely put into an object > oriented description in your model. A big win, to me, for Django. Rails has something called migrations (see

Re: Fate of 0.91 projects

2006-04-13 Thread yi huang
I study django with magic-removal svn,because the magic in 0.91 is so ugly, and i'm developing a real-world application, and so far i don't meet any serious problem. I think magic-removal is stable enough to release. and i think everyone should turn to 0.92(pre-magic-removal).On 4/13/06, Adrian

Re: Ecommerce & Django

2006-04-13 Thread Chris Moffitt
> fairly trivial to translate the php example to python - i have done > it in one case, although the processing company said it wouldnt > work, it worked I agree. I've looked at the PHP code for Authorize.NET and it definitely looks pretty straightforward. I can't imagine it would take long

Re: Fate of 0.91 projects

2006-04-13 Thread David S .
The 0.92/0.95 idea or some variation is good. Today's trunk is quite competant and should have it's own label before the significant changes the M-R development will introduce. With more thanks for all the hard work, David S. --~--~-~--~~~---~--~~ You received

Re: Django vs Rails

2006-04-13 Thread tonemcd
That's a really good screencast - the Java-based frameworks come out particularly badly (but the author is looking more at the rapid applications development model, where multiple XML configs and compiling certainly doesn't help matters) I was surprised at how well Zope (Plone actually) comes

Re: Fate of 0.91 projects

2006-04-13 Thread Michael Radziej
David S. schrieb: > I am finishing up a project built on 0.91 and I am wondering about the various > patches that have been made to trunk in the meantime. Since magic-removal > will > be too backwards-incompatible to use in this project, should I be applying > important patches (like

Re: Model that has more options

2006-04-13 Thread yi huang
maybe you have to write a custom FormFieldOn 4/13/06, beewee <[EMAIL PROTECTED]> wrote: Hm, if you don't understand me, I'll try to explain it more clearly:I've a blog-like news site where some users can publish news using thedjango admin panel. They can enter thome things, for example subject,

Fate of 0.91 projects

2006-04-13 Thread David S .
I am finishing up a project built on 0.91 and I am wondering about the various patches that have been made to trunk in the meantime. Since magic-removal will be too backwards-incompatible to use in this project, should I be applying important patches (like

Re: Model that has more options

2006-04-13 Thread beewee
Hm, if you don't understand me, I'll try to explain it more clearly: I've a blog-like news site where some users can publish news using the django admin panel. They can enter thome things, for example subject, introduction, text etc (and this works finde already). But now I want that it is

Re: check for none

2006-04-13 Thread Tom Tobin
On 4/12/06, Jiri Barton <[EMAIL PROTECTED]> wrote: > > how do I check if a variable is None in a template? > > I want to be able to discern among None, empty list, and non-empty > list; then, I want to tell the user - say nothing, "nothing found", > "found the following:" resp. This is likely a

Re: web hosting

2006-04-13 Thread PythonistL
I use Dreamhost and it works OK. --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email