Re: [Changeset] r3455 - django/trunk/docs

2006-07-29 Thread Matthew Flanagan
while you're at it :) On 29/07/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > > On 7/28/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > > > On Jul 28, 2006, at 11:54 AM, Jay Parlar wrote: > > > Not that I mind :) > > > > http://code.djangoproject.com/changeset/3477 > > > > > > > > Ha, vic

Re: ManyToManyField Usage

2006-07-29 Thread Martin Robinsson
Sorry for the bump. But I'm genuinly interested in understanding why it's not possible to write: >>> album.song_set.get_or_create(name='name', album=album) without specifying the album explicitly as a kw argument. Shouldn't the album parameter in this example be inferred through the album.song_set

Django vs TurboGears

2006-07-29 Thread jo
Hi all, I'm evaluating the possibility to use Django for a project, but I have read so many comments about Django vs TurboGears and right now I am very confused. I installed both of them in my system and sincerelly I found that Django is very easy to install and getting started while TG is not so

use data model and database api along

2006-07-29 Thread Gennan Chen
Hi!I will like to django's ORM in my standalone app (not web app).  Do I always its admin tool to create tables? Or it can reuse the table structure I create in the db? Gen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Django vs TurboGears

2006-07-29 Thread Elver Loho
On 7/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm evaluating the possibility to use Django for a project, but I have > read so many comments about Django vs TurboGears and right now I am > very confused. > I installed both of them in my system and sincerelly I found that > Django is v

Re: Django vs TurboGears

2006-07-29 Thread James Bennett
On 7/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Someone of you could give me a good reason to use Django instead of TG? I could, but different people are going to be swayed by different types of reasons. Take a weekened, build a simple app in both, see which one fits your brain better.

Re: Django vs TurboGears

2006-07-29 Thread Adrian Holovaty
On 7/29/06, Elver Loho <[EMAIL PROTECTED]> wrote: > ...and what stops you from using Mochikit and JASON with Django? It's > like saying that you can't order ice-cream at McDonald's, because it's > not part of the Happy Meal you're eating. Great line, Elver! I'm going to have to remember that one.

Filter objects spanning two relations

2006-07-29 Thread Maciej Bliziński
Hello all, I'll illustrate my problem with a small example. Let's consider a data model: -- from django.db import models class OldTag(models.Model): content = models.TextField() class NewTag(models.Model): content = models.Tex

Django course at Spain

2006-07-29 Thread Javier Nievas
Hola, Por si le interesa a alguien, hay un curso en la Universidad de Granada acerca de Django y el Web 2.0. Aqui os dejo el enlace: http://continua.ugr.es/data_html/curso.php?cod=06/CA/052&nombre=PROGRAMACION%20WEB%202.0:%20DESARROLLO%20RAPIDO%20DE%20APLICACIONES%20CON%20PYTHON%20Y%20DJANGO.%20

Re: Django vs TurboGears

2006-07-29 Thread Javier Nievas
Django does not use MVC model, it uses Model - View - Template (MVT) model. It's similar, because an MVC view is like an MVT template, and an MVC controller is like a MVT view. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Django vs TurboGears

2006-07-29 Thread Elver Loho
On 7/29/06, Javier Nievas <[EMAIL PROTECTED]> wrote: > > Django does not use MVC model, it uses Model - View - Template (MVT) > model. It's similar, because an MVC view is like an MVT template, and > an MVC controller is like a MVT view. http://en.wikipedia.org/wiki/Model-view-controller#Operatio

Re: use data model and database api along

2006-07-29 Thread Ian Clelland
On 7/29/06, Gennan Chen <[EMAIL PROTECTED]> wrote: > I will like to django's ORM in my standalone app (not web app). Do I always > its admin tool to create tables? Or it can reuse the table structure I > create in the db? You should be able to use the Django ORM on an existing database (not that

Re: Django course at Spain

2006-07-29 Thread Jeremy Dunck
On 7/29/06, Javier Nievas <[EMAIL PROTECTED]> wrote: > Hello, > > There's a course in the University of Granada (Spain) about Django and > Web 2.0. That's the link with more info about it. > > http://continua.ugr.es/data_html/curso.php?cod=06/CA/052&nombre=PROGRAMACION%20WEB%202.0:%20DESARROLLO%20

Re: Template widget size

2006-07-29 Thread Steven Armstrong
On 07/28/06 19:20, Nagy Károly wrote: > Steven Armstrong írta: > >>I've extended some of django's built in model and form fields to accept >>an additional kwarg named 'html_attributes'. >> >>It works like this: >> >>class Whatever(models.Model): >> ... >> title = models.CharField(maxlength=1

Preview updates from auto-admin(?)

2006-07-29 Thread ToddG
Hi all- Is there any way to preview updates in the auto-admin? From what I can tell the answer is "no". The use case I'm referring to is say an editor needs to update information on the "contact us" page, which is already published, and they want to make sure they got their formatting and HTML c

Re: Filter objects spanning two relations

2006-07-29 Thread Russell Keith-Magee
On 7/30/06, Maciej Bliziński <[EMAIL PROTECTED]> wrote: I'd like to find all the documents that are related to a specific newtag. To reach the new tags, I need to pass old tags first, do I'd expectto use something like this:>>> Document.objects.filter (oldtags__newtags__content = 'popcorn')But it d

ANN: Django 0.95 released

2006-07-29 Thread Adrian Holovaty
Hi all, We've packaged and released Django version 0.95, which packages all of the significant advances in Django development since the 0.91 release in January 2006. For more information see these two documents: http://www.djangoproject.com/weblog/2006/jul/29/095/ http://www.djangoproject.com/d

Accessing debug items in a template

2006-07-29 Thread skullvulture
My first task with Django now that I've got it set up on on dreamhost account and have gone throught the tutorial is to take one my my basic HTML sites and transfer it into Django templates. All my templates look good, written the urlconf, my views, and got all my images and css into my media fo

Simplifying template?

2006-07-29 Thread Todd O'Bryan
Is there any way to make the following any simpler? It's inside another {% for ... %}, so the ugliness is particularly jarring. {% for t in s.teachers %} {{ t.userinfo.informal_name }}{% if not forloop.last %}}; {{% endif %}} {% endfor %} It's roughly the equivalent of {{ s.teachers|join:"; "

Re: ifequal template problem

2006-07-29 Thread can xiang
Hi, carlos I just come across the same problem with ifequal and bring into the same solution with yours that I think is silly too. I just want to convert the auto-generated id into string to have a simple correct ifequal test. I simply can not convert strings into integer because strings

filters in admin

2006-07-29 Thread jws
Is it currently possible to create filters in the admin interface that limit the displayed itemsby a criteria applied to a datefield? As an example, if a user model has datefields to indicate start and end dates of their site membership, I'd like to create a filter to only show 'current memb

Req HR/SAP/SysAna/SAP/J2EEConst/JAVADev/Tech Fac/CustSupp/SerSour/TrnMgr/BussAna/SoftProdPromo/WritingTechDocu/AccoutAstt....

2006-07-29 Thread chetana.jobs
Hi Dear Members, FOLLOWING R THE JOBS OF THIS WEEK : HR Opening Career Centers SAP FICO Rixyncs Systems analyst - Siebel Rixyncs SAP PP Rixyncs J2ee consultant Rixyncs SAP APO Rixyncs Java developers Infra-Tech Consultants Technical Faculty Infysys Academy Customer Support S-APPSYS service and

psycopg2

2006-07-29 Thread Vance Dubberly
postgresql_psycopg2Yes I found it. Yes I know it's not supported . But could somebody tell me how to tell it to shut up? My eyes are bleeding! :)  The debug output is just a little overwhelming and quite useless unless you are the module developer. Is there switch somewhere I could flip without shu

Re: ANN: Django 0.95 released

2006-07-29 Thread Isaac Sparrow
We doubted the 0.95 release would happen this week when you mentioned it at the Django meet and greet at OSCON. Guess you were right :) Great work! Isaac On 7/29/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > Hi all, > > We've packaged and released Django version 0.95, which packages all of