Call for translations / translation reviews

2008-06-15 Thread Marc Fargas
Hi there, We have a few new translations in the bug tracker: Estonian, Vietnamese, Lithuanian, and an Hebrew update. There are not too many users/developers who speak those languages so any help is much appreciated. So, if you have time and speak any of those languages please take a look at the tr

Re: Who has the better support for Sql Server?

2008-05-09 Thread Marc Fargas
Hi, http://code.google.com/p/django-mssql/ holds the MSSQL backend as a separate project as was the recommended action by mtredinnick in ticket #5947. Hope this helps. El vie, 09-05-2008 a las 09:33 -0700, mamcxyz escribió: > I submit this patch some time ago: > > http://code.djangoproject.com/t

Re: Problem with Postgres 8.2

2008-05-09 Thread Marc Fargas
El vie, 09-05-2008 a las 09:30 -0700, Marcin Gorczyński escribió: > Hello > > I have a problem with syncing with my PostgresDB - I type manage.py > syncdb, but it doesn`t create all the columns like in this model: > It creates only 3 columns - id, group_id, name Did you add columns after running

Re: Exceptions by mail

2008-04-10 Thread Marc Fargas
Simply set DEBUG=False in your settings.py, when an exception raises django will send the traceback to the people defined in ADMINS (also in settings.py) Documentation about that is: http://www.djangoproject.com/documentation/settings/#error-reporting-via-e-mail Regards, Marc El jue, 10-04-2008

Re: Eliminating DRY violations in urlpatterns

2008-04-07 Thread Marc Fargas
Hi, El lun, 07-04-2008 a las 09:08 -0700, bobhaugen escribió: > My view that creates a new order ends with this statement: > return HttpResponseRedirect('%s/%s/' >% ('order', new_order.id)) > [...] > The result of all the above is that I needed two different urlpattern

Re: confirmation after adding new object

2008-04-04 Thread Marc Fargas
El vie, 04-04-2008 a las 14:09 -0700, [EMAIL PROTECTED] escribió: > def add(request,form_class=PlaceForm): > if request.method == 'POST': > form = form_class(request.POST) > if form.is_valid(): > form.save(request) > return render_to_response('places/add

Re: AD / LDAP authentification backend

2007-07-17 Thread Marc Fargas
Hi, Maybe you want to take a look at ticket #2507 ( http://code.djangoproject.com/ticket/2507 ) it's just about this. Far from complete but usable for normal scenarios. It works fine with AD. Cheers, Marc El mar, 17-07-2007 a las 10:02 +, Tilo Kussatz escribió: > Hi all, > > I'd like to get

Re: Unicode-branch: testers wanted

2007-05-29 Thread Marc Fargas
El mar, 29-05-2007 a las 20:22 +1000, Malcolm Tredinnick escribió: > Fixed in [5378]. Thanks, it works perfectly now! ;) > It's actually a good bug to find; we were violating the WSGI spec, so it > actually was an error in our wsgi handler. Fortunately, the dev server > is very aggressive about

Re: Unicode-branch: testers wanted

2007-05-29 Thread Marc Fargas
El mar, 29-05-2007 a las 20:03 +1000, Malcolm Tredinnick escribió: > There are no bugs on the unicode branch; so it's clearly your fault. :-) Ahh! I knew I knew... :) > However, just this once, we can adjust the code so that this doesn't > happen. Oh, thanks!!! :) > If anybody doesn't believe so

Re: Unicode-branch: testers wanted

2007-05-29 Thread Marc Fargas
Hi there, When using i18n I'm getting a nice stacktrace for every request, this only happens once you set the language for a client and the exception raises due to Content-Language being a Unicode string for some reason. Backtrace: Traceback (most recent call last): File

Re: django models

2007-05-28 Thread Marc Fargas
Hi Jos�, As the documentation says, the best alternative right now is to set a ForeignKey from one of the models to the other, on which you should place the ForeignKey really depends on every specific case, normaly it should go to the one that "cannot live with the other" (hence, the dependent one

Re: built-in authentication views and context

2007-05-25 Thread Marc Fargas
You can use a templatetag for MEDIA_URL, http://code.djangoproject.com/ticket/4105 this is currently being discussed on django-developers. El vie, 25-05-2007 a las 14:55 +, Bob Dively escribi�: > I'm using Django's built-in authentication views to provide login and > logout capabilities for a

Re: Django Book

2007-05-21 Thread Marc Fargas Esteve
On 3/14/07, Derek Lee-Wo <[EMAIL PROTECTED]> wrote: > > Amazon shows that the book on Django will be published on March 26th > which is 1 1/2 weeks away. Does anyone know if that date is still > valid? > > I'm anxiously waiting to order it. Uhm.. I think they will wait until Django 1.0 hits the

Re: Scheduler proposal

2007-05-20 Thread Marc Fargas Esteve
Hi, On 5/20/07, Andi Albrecht <[EMAIL PROTECTED]> wrote: > A patch based on rev. 5297 is attached to this mail. > > I've tested this solution in my application a few days now and it > works pretty well. What do you think about it? You should fill a ticket in http://code.djangoproject.com/simplet

Re: Vote to support dreamhost mod_python

2007-05-04 Thread Marc Fargas Esteve
n a shared hosting, on the most simple case the use of mod_python would allow any user on the system to read your settings.py and you know what's on settings.py... (database_password, etc ...). On 5/4/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > > On May 4, 7:31 pm, "

Re: Vote to support dreamhost mod_python

2007-05-04 Thread Marc Fargas Esteve
Has far as I know you cannot run mod_python applications as different users, everything runs as the web server user except with some experimental module around there, if this is the case, I would not go for mod_python. Anyway, as far as I know dreamhost supports FastCGI and Django works with that,

Re: django-Postgre bug?

2007-04-15 Thread Marc Fargas Esteve
Hi, 2007-04-15 11:23:06 CEST ERROR: no se puede truncar una tabla referida en una llave foránea 2007-04-15 11:23:06 CEST DETALLE: La tabla «galeria_galeria» hace referencia a «galeria_album». 2007-04-15 11:23:06 CEST HINT: Trunque la tabla «galeria_galeria» al mismo tiempo, o utilice TRUNCATE ..

Re: Which ajax framework django will support in the upcoming 1.0, prototype/dojo/jquery?

2007-04-10 Thread Marc Fargas Esteve
Hi Erdong, If you do a simple search for "AJAX" on this group you'll find the answer you're looking for, in brief: Django **will not** advocate for a specific ajax framework/library it provides useful tools to ease your development i.e. Serializers but as jacob sais a few days ago: "why should you

Re: Announcing Django 0.96!

2007-03-24 Thread Marc Fargas Esteve
Hi James, Maybe the release notes should say that newforms do not yet support File uploads in an easy way (see #3297) just to warn people moving from oldforms to newforms ;) Cheers, Marc. On 3/23/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > We're pleased to announce the release of Django 0.

Re: Can I write standalone Python app that uses Django auth, DB and models?

2007-03-22 Thread Marc Fargas Esteve
Sure you can, as long as you define the DJANGO_SETTINGS environment variable and import the models! Then its up to you how you interface the models from another app ;) On 3/23/07, Mike Stoddart <[EMAIL PROTECTED]> wrote: > > > Hi folks, > > I was hoping someone could let me know if it's possible

Re: database table prefix

2007-02-28 Thread TeLeNiEkO (Marc Fargas)
such as the auth_user table. > > On Feb 27, 5:24 pm, "Marc Fargas Esteve" <[EMAIL PROTECTED]> wrote: > > > Prefixes have been discussed sometimes, you can look at ticket #891 > > i.e. Or search this group about that... > > > One "hackish" opt

Re: database table prefix

2007-02-27 Thread Marc Fargas Esteve
Prefixes have been discussed sometimes, you can look at ticket #891 i.e. Or search this group about that... One "hackish" option you could go on is use different SITE_ID's in your sites, and either make your applications take care of SITE_ID (a foreignkey to Sites could help) or set the db_table

Re: Upcoming Django release, and the future

2007-02-27 Thread Marc Fargas Esteve
Hi Andrew, There's a ticket for that openned: http://code.djangoproject.com/ticket/3589 And it's closed as fixed :) On 2/27/07, Andrew Diederich <[EMAIL PROTECTED]> wrote: > > On Monday, February 26, 2007, 4:39:29 PM, James Bennett wrote: > > > On 2/26/07, Andrew Diederich <[EMAIL PROTECTED]> wro

Re: postgresql views and django

2007-02-22 Thread Marc Fargas Esteve
If the views are already there you can use ./manage.py inspectdb to get "guessed" models for those views (django will simply treat them as normal tables), you'll get in trouble if you try to create or update entries of this model unless you have written INSERT/UPDATE/DELETE rules on the view. >Fro

Re: Django Cheat Sheet

2007-02-13 Thread Marc Fargas Esteve
wow! On 2/13/07, Lars Stavholm <[EMAIL PROTECTED]> wrote: > > John Sutherland wrote: > > Hi all, > > > > Firstly, sorry for the cross-post. > > > > My employer, Mercurytide [1], as some of you may have seen in the > > past, publishes white-papers on a monthly basis. This month it's > > another Dj

Re: Auto-login with REMOTE_USER

2006-12-18 Thread TeLeNiEkO (Marc Fargas)
Hi, You'd maybe like to give a look at #689 [ http://code.djangoproject.com/ticket/689 ] it talks about honouring the REMOTE_USER ;) Cheers, Marc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: How about a Django apps public repository?

2006-09-30 Thread Marc Fargas
Uhm.. I was waitting for Ian Holsman who said had something on pending of some 'styling', if no body is on it I can take over it ;) Cheers, Marc. On 9/30/06, Steven Armstrong <[EMAIL PROTECTED]> wrote: > > On 09/30/06 17:35, Lucas Vogelsang wrote: > > Hi, > > Is this project/thread dead or is so

Re: How about a Django apps public repository?

2006-09-12 Thread Marc Fargas
On 9/12/06, Joeboy <[EMAIL PROTECTED]> wrote: I think you might be missing the bit that says:"Finally, we change our view code to use RequestContext instead of thebase Context class."You're right! I  missed it, then there's no easy solution for your problem  ;o) JoeMarc --~--~-~--~~-

Re: How about a Django apps public repository?

2006-09-12 Thread Marc Fargas
Maybe I read badly, bu I understood that you needed to modify EVERY VIEW to add something to the context of the template, the link I gave you show how to use a Processor, that is "some function called before rendering a template" more or less like an "intermediate view" Look at the example carefull

Re: How about a Django apps public repository?

2006-09-11 Thread Marc Fargas
Uhm... maybe we should define some "reusabillity recommendations" to make sure thing behave nicelly and similar to the django behaviours.On the linked thread have you checked:  http://www.b-list.org/weblog/2006/06/14/django-tips-template-context-processors ? You can use a context processor to make

Re: How about a Django apps public repository?

2006-09-11 Thread Marc Fargas
d on top of it so people can keep track of > new releases and new projects.. as well as a way for people to > search and browse through the list of projects, so they > can find what they need. > > regards > Ian. > > > > > regards > > > > charl

Re: How about a Django apps public repository?

2006-09-11 Thread Marc Fargas
y have had a stroke of > genius and have written a class/function they feel is simply amazing. > > Also can we have a forum rather than mailing lists, they are anoying and not > the easiest to store knowledge on problems/resolutions > > regards > > charles. > > >

Re: How about a Django apps public repository?

2006-09-11 Thread Marc Fargas
Oh, I was going for .ORG! Luckylly I read the list before going for it ;) If you, or another volunteer can setup a system (debian etch preferred) I can go on configuring the mailling lists, the TRAC hosting, SVN repositories and so on (and some scripts to manage them). It would be better to use a

Re: How about a Django apps public repository?

2006-09-09 Thread Marc Fargas
On 9/9/06, Sean Schertell <[EMAIL PROTECTED]> wrote: Funny how in a "room" full of web developers, lots of us havebandwidth and servers for hosting this stuff. ;-)Sure, right now we have 4 volunteers to provide the hosting and bandwidth, including a Tier 1  o_O  now it's time to look about who will

Re: How about a Django apps public repository?

2006-09-09 Thread Marc Fargas
On 9/8/06, Jeff Forcier <[EMAIL PROTECTED]> wrote: Well, I would imagine that many other Djangonauts have their owncheapish hosting that they use for personal websites or other projects,which are more than capable of handling Trac. I mean, I can't be theonly person who already has a $40/mo VPS with

Re: How about a Django apps public repository?

2006-09-08 Thread Marc Fargas
I''ve been looking at some of the django projects at code.google.com and all I saw have empty subversion repositories... I like the idea of the Cheeshop and more the one of different TRACs, but on the three options given, hosting TRACs is not as easy, Cheeshop and google are free.hosting a TRAC is

WebServices datasource

2006-09-05 Thread Marc Fargas
Hi, In reference to [1], what would be the best way to provide a datasource for a model that is backed on a WebService ? Image you have a webservice that returns "customer objects", then I'd like to have a model called Customer on which to use .objects.all() and so. So, how should I build that mo

Re: Accessing several databases at once

2006-07-27 Thread Marc Fargas
In case the database is on the same host and technology (mysql, sqlite...) you could create a wrapper view in the databse django uses, to query data on the other database. At least that's what I did until such multi-db branch becomes stable! Cheers,Marc.On 7/27/06, John Morton <[EMAIL PROTECTED]> w

Re: New vim files for Django available

2006-06-27 Thread Marc Fargas
That's nice!Didn't notice vim 7.0 had django syntax highlighting! Good work.Cheers,Marc.On 6/27/06, Jeroen Ruigrok van der Werven < [EMAIL PROTECTED]> wrote:At http://www.vim.org/scripts/script.php?script_id=1487 you can findthe latest versions (1.02, released 2006-06-26) of Dave Hodder'sdjango.vi