Re: Sometimes datetime sometimes date?

2009-06-15 Thread Ramiro Morales
ds in models and I > can't figure out why it returns one type at one time and another type > at another. What database are you using? -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: multitable inheritance - child doesn't accept parent link

2009-06-18 Thread Ramiro Morales
ev/topics/db/models/#id7 regarding the parent link field and how to make that relationship explicit and control its name. Regards, -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Mysql and utf8

2009-06-18 Thread Ramiro Morales
Django documentation: http://docs.djangoproject.com/en/dev/ref/databases/#creating-your-tables -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Translating App Names

2009-09-20 Thread Ramiro Morales
w to work with patches (and please report back your experiences). At least one core developer thinks all this is something worth fixing in one swoop and the second problem isn´t worth fixing alone. I'm keeping the above mentioned ticket (and patch) up to date in the hope it is fixed ASA

Re: msgfmt error while attempting to compile po files

2009-09-21 Thread Ramiro Morales
You need to install the gettext package that includes (among others) the msgfmt utility from the GNU gettext suite. http://packages.ubuntu.com/search?searchon=contents&keywords=msgfmt&mode=exactfilename&suite=jaunty&arch=any Regards, -- Ramiro Morales | http://rmorales.net --~--~---

Re: __unicode__(self) doesn't work

2009-10-12 Thread Ramiro Morales
ome Python material to familiarize yourself with indentation rules and class definitions. Regards, -- Ramiro Morales | http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: using ORM Parent->child rendering inside a template

2009-10-27 Thread Ramiro Morales
h python and I can get the results by passing a dictionary > with everything to loop over it, but I'm sure there has to be an easier way > to do it > -- Ramiro Morales | http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you

Re: unique_for_date

2009-11-04 Thread Ramiro Morales
On Wed, Nov 4, 2009 at 2:52 PM, David wrote: > > Hello > > I was wondering if unique_for_date is not working or if I am not > understanding how it is meant to be used. What version of Django are you using? -- Ramiro Morales | http

Re: Ordering over ManyToMany relationship omits records

2009-11-27 Thread Ramiro Morales
queries using SQL to see if the results you get are different from what you get when using the ORM. I say this because the last paragraph in the order_by() method description: http://docs.djangoproject.com/en/dev/ref/models/querysets/#order-by-fields Regards, -- Ramiro Morales | http://rmoral

Re: Can't delete a User from within admin

2009-12-13 Thread Ramiro Morales
.db.models.fields.related.RelatedManager. > > I can delete the User from within the shell just fine with > user_instance.delete() I'd suggest to read the Django documentation about managers, in particular the sections about default managers, and how they (are not) used by the admin a

Re: How to change the look of the main admin site page?

2010-04-17 Thread Ramiro Morales
oject.com/en/1.1/intro/tutorial02/#customize-the-admin-index-page http://docs.djangoproject.com/en/1.1/ref/contrib/admin/#overriding-admin-templates -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Baffled by self.client.login(...) not working in unit tests

2010-04-19 Thread Ramiro Morales
ernet discussion pertaining to this. Can anybody help? >> > > My login code looks like this: >> >> > >                 login = self.client.login(username='homer', >> > > password='simpson') >> > >                 self.as

Re: unable to create en-gb for localisation

2010-04-22 Thread Ramiro Morales
may go wrong? Thanks Make sure you are creating a stub en-gb translation for Django. See the second note box ("Locale restrictions") here: http://docs.djangoproject.com/en/1.1/topics/i18n/localization/#topics-i18n-localization -- Ramiro Morales | http://rmorales.net -- You r

Re: "No module named admin.site.root" on r13043

2010-04-28 Thread Ramiro Morales
e syntax used since 1.1: (r'^admin/', include(admin.site.urls)), Read the respective part #2 of the Django tutorials to compare them. Where did you get the # Uncomment the next line to enable the admin: (r'^admin/(.*)', include('admin.site.root')), fragment from

Re: Problem_Inline_max_num

2010-05-10 Thread Ramiro Morales
odeltests/model_formsets/models.py?rev=13094#L363 Also FWIW, a) I don't think that's what the OP was reporting, 2) I agree with Javier regarding the readability of what the OP posted in English and even in Spanish. We are asking him to send a better report in the django-es list. -- Rami

Re: override base translations in your project

2010-05-17 Thread Ramiro Morales
has no effect, it is a comment to be read by humans and has no influence in the final compiled .mo message file. -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: db_schema support was broken by Debian upgrade: 'class Meta' got invalid attribute(s): db_schema

2010-07-04 Thread Ramiro Morales
s updated, you got a pristine Django 1.2.1 via the python django .deb package and that would explain what you are seeing. You can try to use the latest patch attached to ticket 6148 so you can help us with to test and enhance it. Warning: The patch, as every patch not merged in the official tre

Re: can foreign key fields be empty?

2010-07-18 Thread Ramiro Morales
documentation from beginning to end once will help you a lot when beginning. It would be unfortunate to not take advantage of such a great body of documents. There are other projects where this is not possible because the docs are very basic. But this isn´t the case with Django. Regards, -- R

Re: Can't build Django documentation

2010-08-14 Thread Ramiro Morales
ple a bit the links between documents), see Django tickets [1]14033 and [2]14085. So you might prefer to use option 2 for now. -- Ramiro Morales  |  http://rmorales.net 1. http://code.djangoproject.com/ticket/14033 2. http://code.djangoproject.com/ticket/14085 -- You received thi

Re: Can't build Django documentation

2010-08-14 Thread Ramiro Morales
o/whatsnext/#as-html-locally That's and outdated and misleading note. Thanks for pointing it. I' ve opened ticket 14111 to get rid of it. -- Ramiro Morales  |  http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: debug=True changes behavior of admin "fields"

2010-08-20 Thread Ramiro Morales
The obvious next step was to see how to remove the offending validation code Karen described. Fortunately there is some duplicated code in that zone that can be factored out. This means the feature you are using could be officially added by removing code instead of adding it, plus tests and docume

Re: gettext on windows - not up to date documentation on django site

2010-08-22 Thread Ramiro Morales
orrectly) We will need more real technical details about what steps yo've performed so far and at what point things started to fail to be able to help you. Regards, -- Ramiro Morales  |  http://rmorales.net -- You received this message because you are subscribed to the Google Groups &

Re: Color in Console

2010-08-26 Thread Ramiro Morales
Some of the code proposed in discussions you find when googling color logging console, e.g. [1] * The integration-with-logging facilities provided by Fabulous[2]. HTH -- Ramiro Morales  |  http://rmorales.net 1. http://stackoverflow.com/questions/384076/how-can-i-make-the-python-logging-

Re: Error loading MySQLdb module with virtualenv (Virtual Python Environment builder)

2010-09-18 Thread Ramiro Morales
rver) first and then move to WSGI. Or Don't skip the reading the great mod_wsgi docs step, particularly the topic about how to combine it with virtualenv: http://code.google.com/p/modwsgi/wiki/VirtualEnvironments -- Ramiro Morales  |  http://rmorales.net -- You received this message be

Re: IE9 and dev server errors

2010-09-18 Thread Ramiro Morales
d by the remote > host > > Not sure what is going on.  Any ideas? Does this cause any functional problem at all? Or simply. is that error message printed to the console? -- Ramiro Morales  |  http://rmorales.net -- You received this message because you are subscribed to the Google Groups

Re: Show DEBUG page to specific user group?

2010-11-12 Thread Ramiro Morales
ck: http://ericholscher.com/blog/2009/sep/5/debugging-django-production-revisited/ -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe fr

Re: Are multiple databases supported by the testing framework?

2010-11-14 Thread Ramiro Morales
; Is this supported? Did you find (and apply what is suggests) the relevant notes to the multi-DB functionality in the testing docs?: http://docs.djangoproject.com/en/1.2/topics/testing/#multi-database-support -- Ramiro Morales -- You received this message because you are subscribed to the Google

Re: problems with model inheritance if base class is not abstract

2010-11-20 Thread Ramiro Morales
on of the model name: >>> p = TestBase.objects.get(id=12) # If p is a TestB object, this will give the child class: >>> p.testb " The TestA model is inheriting that 'testb' accesor from TestBase to TestB and it is clashing with the identically named field. -- Ra

Re: UTF-8 support in custom tags

2010-12-04 Thread Ramiro Morales
ext)". > > Any ideas how to deal with it? The Unicode documentation has specific information about custom template elements: http://docs.djangoproject.com/en/1.2/ref/unicode/#templates -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups &quo

Re: UTF-8 support in custom tags

2010-12-05 Thread Ramiro Morales
method and from template filters." So maybe you simply should make sure you return u"" instead of "" from your render() method ?: >> >  def render(self, context): >> >    context[self.variable] = self.nodelist.render(context) >> >    return &q

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread Ramiro Morales
ite friendly Python mailing list/IRC channel. -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from th

Re: error haven't set the DATABASE_ENGINE setting

2009-12-30 Thread Ramiro Morales
goproject.com/en/dev/topics/install/#installing-official-release You are using Django 1.0.x launched almost 15 months ago and following the the documentation that describes the development version of Django as of now. Lookup and follow the correct document set. Regards, -- Ramiro Morales | h

Re: TemplateSyntaxError: 'if' statement improperly formatted

2010-01-02 Thread Ramiro Morales
On Sat, Jan 2, 2010 at 10:33 PM, dhruvg wrote: > > Could you elaborate? > The documentation indicates that complex expressions follow Python > exactly. I suspect you are using django 1.1.x and reading theDjango SVN trunk documentation. -- Ramiro Morales  |  http://rmorales.net --

Re: Django tutorial: TemplateDoesNotExist at /admin/

2010-01-03 Thread Ramiro Morales
/social', '/usr/lib/ > > I am using Ubuntu 9.10 please help :-\ > How have you installed Django?. Using a Ubuntu package (python-django) or did you perform an installation from source? Make sure you don't have more than one and possible incomplete installations. -- Ramiro Morale

Re: reverse drops the project from the url returned

2010-01-03 Thread Ramiro Morales
that point to this Django ticket: http://code.djangoproject.com/ticket/9435 Another suggestion: Ty dropping the project name from all the imports and view names when setting your mod_wsgi deployment, just make sure themodules containing your settings.py, urls.py and all your apps are in the python mo

Re: Problems with mod_python and Django

2010-01-03 Thread Ramiro Morales
27;dummy.settings' (Is it on > sys.path? Does it have syntax errors?): No module named dummy > Seems like there is a __init_.py file missing in your dummy directory? -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups &q

Re: Splitting tests.py

2010-01-18 Thread Ramiro Morales
et a traceback? No error but your tests aren't being run?, ... Try with SVN r12254 because the test infrastructure was refactored in r12255 and it still has some small rough edges. -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google

Re: Admin calendar popups on datefield suddenly missing

2010-01-21 Thread Ramiro Morales
ion? What do you get when you access it with your browser? -- Ramiro Morales | http://rmorales.net PS: Also, if you are using the development version it would be a good idea to get accustomed to read the changelog and/or follow the Django Trac timeline so you can anticipate, detect and sol

Re: False negatives on model validation of CharField with choices

2010-01-29 Thread Ramiro Morales
ticket/12722. Sorry I didn't reply before, I had been offline. This has been already reported in ticket [1]12667. Please test the patch attached to it and report back your experiences. Regards, 1. http://code.djangoproject.com/ticket/12667 -- Ramiro Morales | http://rmorales.net -- You re

Re: Django Test Server and threading

2010-02-01 Thread Ramiro Morales
.start_new_thread(serv.serve_forever,()) > time.sleep(60) > ----- > > resulting in a "no such table: django_session" error? Are you using sqlite3? -- Ramiro Morales | http://rmorales.net -- You received this message because you are subscribed to the Google Groups "Django u

Re: How to serialize objects that contain a foreign key object

2010-02-10 Thread Ramiro Morales
[2]'Django full serializers' by Matthew Flanagan. HTH -- Ramiro Morales | http://rmorales.net 1. http://code.djangoproject.com/ticket/12840 2. http://code.google.com/p/wadofstuff/wiki/DjangoFullSerializers -- You received this message because you are subscribed to the Google Groups

Re: python manage.py test --omit=bad_app_one,bad_app_two

2010-02-17 Thread Ramiro Morales
e I go hacking Django's core, is there a back-door (or a patch > or module out there) that I'm overlooking? I've been told that [1]nose has this ability. And there is the patch attached to ticket [2]8363. -- Ramiro Morales | http://rmorales.net 1. http://somethingaboutorange.c

Re: Django 1.0 admin - no "select all" checkbox

2010-02-27 Thread Ramiro Morales
sion 1.2. If you are following the docs make sure you are reading the correct ones form the Django release you are using (in the case of the docs published at the djangoproject.com site, look for a header at the top of the pages that link to docs of other releases). -- Ramiro Morales | http://

Re: Multiple Primary Keys

2010-03-17 Thread Ramiro Morales
t; in the model? I did use the inspectdb command to help me create the > model because some tables have more than 25 columns. Unfortunately it isn't supported. See: http://docs.djangoproject.com/en/1.1/faq/models/#do-django-models-support-multiple-column-primary-keys -- Ramiro Moral

Re: syncdb error for models pointing to each other

2010-03-25 Thread Ramiro Morales
elf. I'm using > Postgresql. What am I missing? Are 2 models not allowed to point to each > other? Re-read the error message, it is correctly pointing the problem. You don't seem to have any model called Photo, at least no in the code you included in you email. -- Ramiro M

Re: Problem with admin actions and i18n

2010-04-06 Thread Ramiro Morales
s have problems with such differences with i18n lazy objects when > dealing with production server. Can anyone help to understand this problem? You don't tell us what version/SVN revision of Django you are using. The locations shown in the traceback don't match the ones in SVN tip as o

Re: get_fieldname_display in templates

2010-04-08 Thread Ramiro Morales
  {{ item.name }} {{ item.get_category.display()}} >  {%endfor%} First, change get_category.display to get_category_display it is an obvious typo. Them drop the (). This is documented: http://docs.djangoproject.com/en/1.1/topics/templates/#templates http://docs.djangoproject.com/en/1.1/topics/temp

Re: Why is django returning only naive datetimes?

2010-04-09 Thread Ramiro Morales
n idea for this year GSoC program http://code.djangoproject.com/wiki/SummerOfCode2010#Multipletimezonesupportfordatetimerepresentation So far, no student expressed interest in it, maybe we can propose it as a feature for 1.3 when the time comes. Regards, -- Ramiro Morales | http://rmorales.net -

Re: Including [django-users] in subject line?

2007-06-09 Thread Ramiro Morales
g > http://atlanta-web.org - http://t.oolicio.us > > > > > > > > > > -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: error after updating from svn (v5479): unexpected keyword argument 'max_digits'

2007-06-15 Thread Ramiro Morales
If you are usign SVN it's a good idea to read that wiki page and/or follow the Trac timeline (http://code.djangoproject.com/timeline/). Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: ANN: Django-fr.org is out!

2007-06-22 Thread Ramiro Morales
me with Spanish. ;-) > /me raises hand I'm there right now. Alone. :) Also take a look to http://groups.google.es/group/django-es and http://django.es/ Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are sub

Re: database error instead of 400

2007-06-25 Thread Ramiro Morales
python-support/python2.5/django/db/backends/sqlite3/base.py", > line 45, in cursor > detect_types=Database.PARSE_DECLTYPES | Database.PARSE_COLNAMES) > > OperationalError: unable to open database file > Could be related to this: http://code.djangoproject.com

Re: django.contrib.auth: 'module' object has no attribute 'get_max_name_length'

2007-06-27 Thread Ramiro Morales
It isn't a big problem, it will go away when you set DATABASE_NAME variable in settings.py (the next step) and it will eventually be solved so the behavior matches the documentation again. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this messa

Re: ImportError: MySQLdb-1.2.1p2 or newer is required; you have 1.2.2

2007-07-12 Thread Ramiro Morales
d734cd1cb9b40?lnk=gst&q=fedora&rnum=1&hl=en#8b1d734cd1cb9b40 In short: Fedora7 package of MySQLdb-python is broken. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread Ramiro Morales
d report back. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ 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, se

Re: Internationalization and accents

2007-08-02 Thread Ramiro Morales
hould be using a recent SVN checkout for this to work. See: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#POfilesmustbeUTF-8encoded changesets: 5708, tickets: 4734, 4899 Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this mess

Re: how to display an error

2007-08-09 Thread Ramiro Morales
(s)? > This is documented. See http://www.djangoproject.com/documentation/forms/ if you are using oldforms. Or look here http://www.djangoproject.com/documentation/newforms/ if you are using newforms. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~

Re: make-messages does not generate any message in .po except dummy header

2007-08-11 Thread Ramiro Morales
ision between r5722 and r5842 right?. Please update to a revision >= 5842. See ticket #4899. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: How to link SVN Django to Python? (for easy update)

2007-08-22 Thread Ramiro Morales
o-newforms-admin doing so you are switching the django module you import when you do from django.foo import blah This is standard Python stuff, and is valid for every platform. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because

Re: Obtain a range of values out of the database

2007-09-02 Thread Ramiro Morales
o problem with the dropdown > part. But how do I manage to get such a list? And what about sorting it? > Take a loot at the values() method: http://www.djangoproject.com/documentation/db-api/#values-fields Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ Y

Re: Parents and Childrens in the same table

2007-09-03 Thread Ramiro Morales
nstance.childrens () and modelinstance.parent()? > There is some meterial in the wiki about that: http://code.djangoproject.com/wiki/CookBookDataModels http://code.djangoproject.com/wiki/CookBookCategoryDataModelPostMagic http://code.djangop

Re: More deployment woes

2007-09-10 Thread Ramiro Morales
directory that can be made accessible to the Apache user and avoiding the temptation to break the overall system security in the process :) -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Django on MediaTemple (dv) howto?

2008-01-03 Thread Ramiro Morales
o MediaTemple, Brian Rosner posted an entry about this on his blog a while back: http://oebfare.com/blog/2007/dec/13/django-and-mediatemple/ HTH -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: Django Book: The Django Administration Site

2008-01-06 Thread Ramiro Morales
ass Meta: ordering = ["name"] (same thing for the model methods) Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: Passing a form via a generic view

2008-01-07 Thread Ramiro Morales
ing-generic-views/ The key word is the "extra_context" argument of the generic views. HTH, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Django Book: The Django Administration Site

2008-01-07 Thread Ramiro Morales
and they have their Admin inner classes correctly defined in their own models.py files. > Thank you. You know I can't copy/paste the text from new django book. I meant copy/paste from your code to the e-mail. Regards, -- Ramiro Morales --~--~-~--~~~---~--~

Re: multilingual projects in django...

2008-01-26 Thread Ramiro Morales
plate files. > my message file for English is: > > #: html/anasayfa.html:9 > #, fuzzy > msgid "Hatali Giris" > msgstr "Not Authorized" > See http://groups.google.com/group/Django-I18N/browse_thread/thread/5989b67618a1705a?hl=en#bd2ed8f23b826e02 -- Ramiro Moral

Re: SESSION_SAVE_EVERY_REQUEST creates new session?

2008-01-27 Thread Ramiro Morales
ad seen being opened and found this isue had already been reported as bug #5593. I'm closing it and leaving a link to this thread there. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Decimal separator

2008-01-31 Thread Ramiro Morales
opher Lenz's [1]Babel [2]Django plugin that includes template filters and a context processor. You can find additional information at: http://www.cmlenz.net/archives/2007/09/djangobabel-integration#more Regards, -- Ramiro Morales 1. http://babel.edgewall.org/ 2. http:/

Re: Newbie sqlite3 dbshell confusion

2008-01-31 Thread Ramiro Morales
chon=names&version=all&exact=1&keywords=sqlite3 Note the "A command line interface for SQLite 3" part. Install it using the package management tool of the distribution and try again. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You rece

Re: Converting relational data to hiechical data

2008-02-21 Thread Ramiro Morales
something similar? I am using > mySQL Isn't just for this kind of cases that [1]django-mptt has beeen created? -- Ramiro Morales 1. http://code.google.com/p/django-mptt/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: revert database migration

2008-03-04 Thread Ramiro Morales
eseb/ http://code.google.com/p/django-evolution/ http://www.aswmc.com/dbmigration/ http://code.google.com/p/django-schemaevolution/ -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Re: Problems with Apache + mod_python [SOLVED]

2008-03-29 Thread Ramiro Morales
In my Apache conf I use this path > > > > PythonPath "['/'] + sys.path" > > Why are you adding '/' to the module search path. There shouldn't be > any need to add the root of the file system to it. > T

Re: Google Maps API

2008-03-30 Thread Ramiro Morales
t; http://projects.washingtonpost.com/2008-presidential-candidates/tracker/dates/2008/apr/09/6741/ > > Where/what would I need to search for? I'd start by going to the Google web site and searching with the following three words: dja

Re: datetime 8 hours off

2008-04-01 Thread Ramiro Morales
. it forces my to > apache2ctl restart quite often :-) > What version of Django are you using?, what deployment method are you using? (mod_python, fast cgi, mod_wscgi). -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are s

Re: lighttpd & django, fcgi issues

2008-04-07 Thread Ramiro Morales
note also thaat you need to correct that "/mnt/project/mysite.fcgi" entry because it doesn't match "/mysite.fcgi$1". they should. 3. lighttpd's mod_fastcgi module gets the request and routes it via a TCP or Unix socket to thegastCGi server 4. The fastCGI server (in your

Re: error while trying to work through chapter 3 of the django book name 'hours_ahead' is not defined

2008-04-07 Thread Ramiro Morales
> > [...] > > urls.py-- > from django.conf.urls.defaults import * > from mysite.views import current_datetime You should also import the hours_ahead symbol as you did with the current_datetime one > from mysite.views import current_datetime, hours_ahead -- Ramiro Morale

Re: TemplateSyntaxError when moving from 0.96.1 to SVN

2008-04-13 Thread Ramiro Morales
rror at /admin > Template u'admin/base_site.html' cannot be extended, because it doesn't exist Are you extending the admin app UI?. > > Is there a guide for this kind of migration? Yes, take a look at http://code.djangoproject.com/wiki/Backwards

Re: Adding new language for i18n

2008-04-15 Thread Ramiro Morales
the technical messages — maybe the validator messages, too. " This is relevant because Django itself hasn' t yet been translated to Thai. I would recommend you to read: http://www.djangoproject.com/documentation/i18n/ to avoid these gotchas, The two problems yo

Re: Adding new language for i18n

2008-04-24 Thread Ramiro Morales
to have all these file accesses > but it's better that nothing. > > What do you guys think? > Please open a ticket in the Django Trac so this issue doesn' t get forgotten. Thanks! -- Ramiro Morales --~--~-~--~~~---~--~~ You received thi

Re: Authentication backend question

2008-05-12 Thread Ramiro Morales
ke a look at [1]ticket 689 that implements integration of Django authentication with pre-existing authentication systems implemented at the Web server by using the REMOTE_USER variable handed by it. If you decide to follow this way, please share your experiences about it (regarding functionality,

Re: i18n issues.

2008-05-29 Thread Ramiro Morales
the GNU gettext machinery Django uses might simply refuse to handle a language that doesn't exist (from what I can see "sp" isn't a two-lteer code known by gettext), so I can't imagine why would you want to embark yourself in such a task. Regards, -- Ramiro Morales

Re: How to know the current apache authenticated user

2008-06-01 Thread Ramiro Morales
> > I'm thinking on a environment variable or alike that holds the > username that is currently authenticated to apache but Google and > docs/ had not been of much help. > You migh want to take a look at ticket [1]689 and one of latest patches attached to it. HTH. -- Ramir

Re: Some Django unit tests fail...

2008-06-19 Thread Ramiro Morales
ying to execise the Python egg template loader. I've found this same problem last week both on a Linux system and on a Windows one. The common factor was they were systems where the 'stack' has had just been installed Python 2.4 and Python 2.5 respectively). Installing the right setuptool

Re: Some Django unit tests fail...

2008-06-20 Thread Ramiro Morales
On Thu, Jun 19, 2008 at 11:20 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On Thu, Jun 19, 2008 at 10:08 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote: >> >> >> Maybe a note about this dependency of that particular Django test >> suite comp

Re: many to many field

2008-06-24 Thread Ramiro Morales
ManyField. Anyway, it works. > If you are using Django from SVN trunk and willing to patch and test code, you might be interested in taking a look at ticket [1]6095 and helping with the testing of the most recent patch attached to it. Regards, -- Ramiro Morales 1. http://code

Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread Ramiro Morales
IOError (see > traceback further down). I have checked that i have write and delete > permissions on this directory. When I change the > FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine. > What SVN revision of Django are you using?. -- Ramiro Morales --~--~-~--~--

Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread Ramiro Morales
Because the g2k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload part is very long and contains / characters. Regards, -- Ramiro Morales 1.(http://code.djangoproject.com/attachment/ticket/7658/tempfile.3.diff 2. http://code.djangoproject.com/ticket/7658 --~--~-~--~~~-

Re: Django snippets

2007-02-26 Thread Ramiro Morales
James, On 2/26/07, James Bennett <[EMAIL PROTECTED]> wrote: > > Also, a few people have mentioned not getting account activation > emails; I don't know what's up with that [...] Could this be related to [1]this ?. Regards, 1. http://code.djangoproject.com/ticket/34

Re: un-broken order_by (was "Upcoming Django release, and the future")

2007-02-27 Thread Ramiro Morales
ationalError: (1054, "Unknown column 'camps_board_time_block.start_time' > in 'order clause'") > Please apply & test the patch attached to ticket #2076 because I suspect this is the same issue. The select_related() call you are using is a workaround to the real

Re: un-broken order_by (was "Upcoming Django release, and the future")

2007-02-27 Thread Ramiro Morales
On 2/27/07, Ramiro Morales <[EMAIL PROTECTED]> wrote: > > Please apply & test the patch attached to ticket #2076 because I suspect this > is the same issue. The select_related() call you are using is a workaround to > the real problem as suggested by Malcolm and the

Re: Models Causing Admin to Crash

2007-02-27 Thread Ramiro Morales
e?. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ 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

Re: how can i find a full source code for complete django

2007-02-28 Thread Ramiro Morales
ource code of website that was built with django" http://www.google.com.ar/search?q=full+source+code+of+website+that+was+built+with+django&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official Regards, -- Ramiro Morales --~--~-~--~~

Re: filter on related fields in admin ?

2007-02-28 Thread Ramiro Morales
Chris, On 2/28/07, Chris Brand <[EMAIL PROTECTED]> wrote: > > In the Admin subclass of my class, is it possible to follow relations for > list_display() and/or list_filter() ? Not currently, but there is ticket #3400 (with patch) about such a feature for list_filter. Regard

Re: un-broken order_by (was "Upcoming Django release, and the future")

2007-03-01 Thread Ramiro Morales
file to find the proposed modifications it would introduce. btw I've just attached ticket-2076.6.diff with fixes in the docs. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Lighttpd and mod_proxy

2007-03-04 Thread Ramiro Morales
the one machine? > See chapter 21 of the WIP django book: http://www.djangobook.com/en/beta/chapter21/ for some advice about the choices. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: disorderly order_by

2007-03-06 Thread Ramiro Morales
g model and field names chained by means of by '__'s. Regards, 1. See the first comments in the ticket, because, it doesn't works always (there is a select_related workaround too) -- Ramiro Morales --~--~-~--~~~---~--~~ You received

Re: Unique_together question

2007-03-11 Thread Ramiro Morales
, there is a workaround described in the comments that involves changing the order of the fields in unique_together. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&quo

Re: Request for test confirmation

2007-03-12 Thread Ramiro Morales
4) File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual raise self.failureException, \ AssertionError: 1 != 4 -- Ran 97 tests in 22.183s FAILED (failures=1, errors=1) -- Ramiro Morales --~--~-~--~~~---~--~~ You received this mess

Re: Request for test confirmation

2007-03-12 Thread Ramiro Morales
work. Yes I'm using the sqlite backend. $ dpkg -l libsqlite3-0 python-pysqlite2 [...] ii libsqlite3-0 3.3.5-0.1bpo1 SQLite 3 shared library ii python-pysqlite2 2.3.2-0bpo1 python interface to SQLite 3

<    1   2   3   4   >