Re: Model A imports Model B imports Model A - I'm completely lost as to how to get around circular imports

2009-04-05 Thread Ramiro Morales
://docs.djangoproject.com/en/dev/topics/db/models/#models-across-files http://docs.djangoproject.com/en/dev/ref/models/fields/#lazy-relationships HTH -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: can't connect with dbshell

2009-03-20 Thread Ramiro Morales
he equivalent SQLite and MySQL command line tools and this would increase the chances of it or a similar fix getting applied to solve this problem with dbshell on Windows. HTH, -- Ramiro Morales http://rmorales.net 1. http://code.djangoproject.com/ticket/10357 --~--~-~--~~--

Re: Test Client doesn't populate request.META["HTTP_HOST"] ...

2009-03-19 Thread Ramiro Morales
t: > > >>> client.get('/foo/bar/',extra={'HTTP_HOST':'example.com'} actually results in a 'extra' key whose value is a nested dictionary in the request.META dictionary. Use >>> client.get('/foo/bar/', HTTP_HOST='example.com'} instead. HTH, -- Ramiro Morales http://r

Re: ImportError with Django rev. 10087

2009-03-18 Thread Ramiro Morales
test to confirm if 10074 is the revision where your problems started? Can you reduce your problematic models to a minimal test case? and paste it to dpaste.com? Do the problematic models have circular references among them?. Regards, -- Ramiro Morales http

Re: ImportError with Django rev. 10087

2009-03-18 Thread Ramiro Morales
eful is to also know which revision you had been (successfully) using before so we can search for a commit in the range, not necessarily 10087. -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Poll Tutorial regarding __unicode__

2009-03-17 Thread Ramiro Morales
this with the interactive shell (manage.py shell) you need to restart it to see the efefct of the changes you perform in model.py. HTH -- Ramiro Morales http://rmorales.net --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: fastcgi can not send url to my backend server

2009-03-15 Thread Ramiro Morales
project.com. But lighttpd > return 404 when I access http://www.ziyoudu.com/login/ > I enabled the debug information then and found it seems that the url is > translated to a static file path. The debug infomation is: That's because you aren't really following

Re: Forms: label translation fails

2009-03-10 Thread Ramiro Morales
ta: >        model  = models.MyModel >        fields = ('name', 'description') > > models.py: > class MyModel (models.Model): >    name = models.CharField(max_length=50,verbose_name=_("Name")) >    description = models.CharField(max_length=200,    

Re: Different Database object behavior on Production and Development servers.

2009-03-09 Thread Ramiro Morales
l > server stuctures. > > Any clues why my development server fetches and filters will not > return coherent > data? > It's not cleat to me what does the development server have to do with this. Could you explaining it a bit further. -- Ramiro Morales http://rmorales.net --~--~-

Re: translating app name ... again

2009-03-08 Thread Ramiro Morales
viously correct set of changes to make. > > Put it in the "internationalisation" component. > I've selected django.contrib.admin instead, change it to internationalization if you consider it more correct. -- Ramiro Morales http://rmorales.net 1. http://code.djangoproject.com/t

Re: Cookie problem on multiple sites

2009-03-04 Thread Ramiro Morales
t would be another tip: search in the relevant mailing lists archives with sensible terms. With pieces of code like IE probabilities are high somebody has already suffered the same problems. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because yo

Re: Cookie problem on multiple sites

2009-03-03 Thread Ramiro Morales
Equip yourself with a network sniffer , or a debugging proxy, or a Firebug equivalent for IE and see if the cookie is arriving to the browser at all and if it does, why IE is ignoring it. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: problem about "You appear not to have the 'sqlite3' program installed or on your path."

2009-02-26 Thread Ramiro Morales
Django management command uses this utility. So you need to download sqlite3.exe if you want to use it. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: OT: hide directory listing on server

2009-02-18 Thread Ramiro Morales
, without knowing the exact path of a given file. You can disable Apache mod_autoindex http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html for that directory. But the easiest way to avoid the generation of the directory content listing is simply cre

Re: Python Versions and manage.py

2009-02-18 Thread Ramiro Morales
iously, you need to have Django installed under both Python versions) Yo can create your own .BAT files containing just that if you want to save some keystrokes. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: Verbose field name DjangoUnicodeDecodeError

2009-02-11 Thread Ramiro Morales
tell you the real encoding, and it isn't the one you expect, you can re-code it using the iconv utility or re-create the models.py file from scratch making sure you tell from the beginning your text editor you want the file to use UTF-8 encoding. HTH (sorry for not making this clear in the previous

Re: Another thread about static content

2009-02-11 Thread Ramiro Morales
;GET /media/foo.gif HTTP/1.1" 404 211 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409 Iceweasel/3.0.6 (Debian-3.0.6-1)" error.log: [Wed Feb 11 15:13:00 2009] [error] [client 192.168.190.2] File does not exist: /var/djapps/dtests/templates/blogSit

Re: Verbose field name DjangoUnicodeDecodeError

2009-02-11 Thread Ramiro Morales
at http://www.python.org/dev/peps/pep-0263/ Also, make your to wrap your Portuguese literals with a call to the django.utils.translation.ugettext_lazy() function as described in the Django I18n documentation: http://docs.djangoproject.com/en/dev/topics/i18n/#lazy-translation Regar

Re: Another thread about static content

2009-02-10 Thread Ramiro Morales
as or Location blocks/directives above?. It is really better for you and for anybody trying to help you if you follow some basic common sense practices because it isn't very practical having to set up a test Django app under one's Apache document root just to reproduce your setup. -- Ramiro Morales

Re: date error

2009-02-10 Thread Ramiro Morales
first and then post again if you are still experimenting problems. HTH, -- 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-u

Re: Pretty admin pages

2009-02-10 Thread Ramiro Morales
they live within your Apache document root." blurb suggests, copying the django/contrib/admin/media tree to your document root would be one way of achieving this. Another option would be to use the Alias and Directory apache configuration directives (http://httpd.apache.org/docs/2.2/mod/

Re: Pretty admin pages

2009-02-10 Thread Ramiro Morales
dia/' > > what am i doing wrong or what have i missed? > This is described in the documentation: http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id3 You should be sure the django/contrib/admin/media/ directory from the Django source code tree is published by Apache at the

Re: syncdb Issue: OneToOneField with User model from contrib.admin

2009-02-07 Thread Ramiro Morales
models.OneToOneField(User, verbose_name=_('author')) the verbose_name option for the relationship type fields is currenty documented in the model topics document but not in the field options refererence. HTH, -- Ramiro Morales --~--~-~--~~~---~--~~ You received

Re: looking for patch to user.messages that adds a category

2009-02-06 Thread Ramiro Morales
et is a [3]snippet that extracts this functionality and avoids the need to patch Django, it includes a new type property for the messages. The author also posted a link to a [4]blog entry describing it. Regards, -- Ramiro Morales 1. http://code.djangoproject.com/ticket/4604 2. http://code.djan

Re: Wierd FileField behavior

2009-02-03 Thread Ramiro Morales
in your case and report back please? -- 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 unsubscrib

Re: models created from database table

2009-02-03 Thread Ramiro Morales
On Tue, Feb 3, 2009 at 9:29 AM, Waruna de Silva <waruna@gmail.com> wrote: > Hi, > > In Django is it possible to created models automatically from > existing database. Yes, see http://docs.djangoproject.com/en/dev/howto/legacy-databases/#howto-legacy-databases -

Re: docs: Problem with 'make html'

2009-02-01 Thread Ramiro Morales
ttribute 'add_crossref_type' > > I'm using a recent version of django. Which version of Sphinx are you using?. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: in what namespace do widgets reside?

2009-01-27 Thread Ramiro Morales
;the Module Index" link in the main documentation page, which took me to this page: http://docs.djangoproject.com/en/dev/modindex/ and then searching for 'widget'. HTH, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Queryset unexpectedly turning into list

2009-01-24 Thread Ramiro Morales
so I can't tell if it is a bug... but > it sure cost me some time because in my eyes it was something complete > out of the blue. > > Django version 1.0.2 > Python 2.5.2 > What DB backend are you using?. -- Ramiro Morales --~--~-~--~~~---~--~~ You

Re: Related Field has invalid lookup error

2009-01-24 Thread Ramiro Morales
>college = models.ForeignKey(College) >year = models.IntegerField() >wins = models.IntegerField(default=0) -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: Raw SQL parameters

2009-01-19 Thread Ramiro Morales
oproject.com/changeset/9418 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

Re: Raw SQL parameters

2009-01-19 Thread Ramiro Morales
method supports only the printf-like parmeter maker style with a list or tuple of actual parameters. If you want to use the pyformat parameter marking style (as described in PEP 249), you' ll need to use the native DB-API driver API as you've already discovered. Regards,

Re: Possible to see sql for queryset before database gets it?

2009-01-18 Thread Ramiro Morales
int the complete SQL query generated by the QuerySet. Both the query attribute and as_sql() method are internal implementation details of QuerySet. That's why they are not documented, but you can count on them being present for the foreseeable future. HTH -- Ramiro Morales --~--~-~--~--

Re: ManyToManyField.through for what?

2009-01-18 Thread Ramiro Morales
d to understand for the next person stumbling the same doubts are welcome 8) -- 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 djan

Re: ManyToManyField.through for what?

2009-01-18 Thread Ramiro Morales
the same things you were able to do but in a clearer way. 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@g

Re: syncdb error

2009-01-18 Thread Ramiro Morales
32 platform) means you need to download and execute an .exe installer for your version of Python. HTH -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: django searching wrong package for 'static.serve'

2009-01-17 Thread Ramiro Morales
cs.djangoproject.com/en/dev/topics/http/urls/#the-view-prefix and http://docs.djangoproject.com/en/dev/topics/http/urls/#multiple-view-prefixes for details. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Path problem with jsi18n - internationalization

2009-01-11 Thread Ramiro Morales
18n/ into the browser > URL. > That's strange, are you succesfully using another component of Django i18n infrastructure in the same application?. De you have USE_I18N set to True in the settings file you are using? -- Ramiro Morales --~--~-~--~~~---~--~~ You

Re: Path problem with jsi18n - internationalization

2009-01-11 Thread Ramiro Morales
b server show a 404 error in its logs when the /jsi18n/ URL is accessed from the browser? What happens if you manually open with your browser the http:///jsi18n/ URL?. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: forms/widgets media: position of 'class' directive

2009-01-11 Thread Ramiro Morales
ng details from your own case to it, you can reproduce what you are seeing?. Of course, the only way I could reproduce what you report is using: js = 'prototype.js' -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are s

Re: Does using the IPython shell add "LIMIT" to Django ORM discussion (using SQLite)

2009-01-08 Thread Ramiro Morales
y isn't caused by that LIMIT part as it isn't sent to the DB in other 'normal' conditions. Regards, -- Ramiro Morales 1. http://code.djangoproject.com/browser/django/trunk/django/db/models/query.py#L146 2. http://code.djangoproject.com/changeset/9202 --~--~-~--~~~

Re: I would like to report a bug but I can't log in

2009-01-03 Thread Ramiro Morales
right away. 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, send

Re: Why doesn't syncdb ever modify or drop tables anymore?

2008-12-25 Thread Ramiro Morales
dev/ref/django-admin/#sqlclear-appname-appname -- 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

Re: Simple ManyToManyField/Model question

2008-12-25 Thread Ramiro Morales
intermediary and m2m_through example: http://www.djangoproject.com/documentation/models/m2m_intermediary/ (tests/modeltests/m2m_intermediary/models.py in the Django source tree.) and the m2m_through example (tests/modeltests/m2m_through/models.py in the Django source tree.) HTH -- Ramiro Morales -

Re: problem with make-messages.py russian language

2008-12-15 Thread Ramiro Morales
evision that worked (r7496) and 1.0.2 (r9503) to try to find the commit that broke things for you. The functionality was moved from make-messages to django-admin at revision 7844. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are s

Re: Problem with i18n in tests

2008-11-22 Thread Ramiro Morales
context 0 does not contain the error 'Ya existe un responsable con > este nombre' (actual errors: [u'Responsable with this Nombre already > exists.']) > Does the settings file being used for the tests have USE_i18N=True? -- Ramiro Morales --~--~-~--~~~---~--

Re: Caching an image in Django

2008-11-20 Thread Ramiro Morales
n before placing the image file into the cache? > See tickets #9180 and #5589 for related reports and proposed workarounds/fixes when using the memcache backend. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Using list_filter with a foreign key field in the Admin

2008-11-20 Thread Ramiro Morales
django-users/browse_thread/thread/cb18... >> Note that in the referenced thread I understood [1]you were [2]asking for being able to filter on fields of the FK-related model instead of by the FK iself. Regards, -- Ramiro Morales 1. If you are

Re: Caching and I18n

2008-11-20 Thread Ramiro Morales
oy that was the OP in one of these threads. He pointed me to [1]ticket 5691 he opened back then. You might want to take a look at it (to know propossed solutions, code devs opinions and perhaps to post feedback and enhance the patch si it can be applied?). HTH -- Ram

Re: validate fields in the admin as some local flavor form fields

2008-11-19 Thread Ramiro Morales
custom-validation-to-the-admin 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

Re: Caching and I18n

2008-11-16 Thread Ramiro Morales
up/django-developers/browse_thread/thread/740f8d434e0660ff/5033945a4cdde102?hl=en=gst http://groups.google.com/group/django-users/browse_thread/thread/256faa01c62b4f27/f4a382c540f47b5b?hl=en=gst Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this

Re: Foreignkey field in admin list_filter, Django 1.0

2008-11-13 Thread Ramiro Morales
f/contrib/admin/#list-filter it doesn't talk about fields of related models being supported at all. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: don't escape html tags

2008-11-06 Thread Ramiro Morales
quot; gives this http://docs.djangoproject.com/en/dev/topics/templates/ as the first hit. Unsurprisingly, one of the sections in that document is "Automatic HTML escaping" Try reading it to know how you can control the feature. Regards, -- Ramiro Morales --~--~-~--~~-

Re: syncdb problem with standalone applications

2008-11-06 Thread Ramiro Morales
migrations, django-evolution, dbmigrations, deseb, django-schemaevolution Google for them. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: Model inheritance question

2008-11-02 Thread Ramiro Morales
Posts objects instead o N tables (1 for > each kinkd of post) > See this thread for some ideas: http://groups.google.com/group/django-users/browse_thread/thread/f4241bc16455f92d/dcd2bfcc91d99cc9 -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message beca

Re: Dev & Production difference: escaping html in admin

2008-11-01 Thread Ramiro Morales
ckwardsIncompatibleChanges#Auto-escapingintemplates to see if you are being affected by it. -- 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 dja

Re: Why does Django generate HTTP 500 errors for static media when Debug is set to False?

2008-09-23 Thread Ramiro Morales
pment server". to avoid helping people making wrong assumptions based in the generality of the document title. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django 1.0 lighttpd FastCGI redirect issue

2008-09-12 Thread Ramiro Morales
Page not found (404) > Request Method: GET > Request URL:http://labs.lamepunch.org/labs.fcgi/ > > Trying to access the admin I get: > > The current URL, labs.fcgi/labs.fcgi/admin/, didn't match any of these. > > Any clues? I've been asking around on IRC and experimentin

Re: i18N with templates in separate directory

2008-09-08 Thread Ramiro Morales
n the same directory). > > And the django.po file has longer paths to everything. The paths in the PO file comments have no effect. HTH, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Template tag i18n failing

2008-08-31 Thread Ramiro Morales
On Sun, Aug 31, 2008 at 2:09 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote: > > This is a bug and has been reported as ticket |1] #7027, you can track > the advance of the issue there. > This is fixed as of revision 8769. cheers, -

Re: Template tag i18n failing

2008-08-31 Thread Ramiro Morales
This is a bug and has been reported as ticket |1] #7027, you can track the advance of the issue there. Also, you can help by applying the latest patch attached to it and posting you experience there as a comment if you find some problem with it. Regards, 1. http://code.djangoproject.com/tick

Re: Django svn 8631

2008-08-27 Thread Ramiro Morales
orms-adminintotrunk Good luck 1. http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: SVN checkout for users without access to SVN

2008-07-18 Thread Ramiro Morales
of the distributed version control mirrors of Django's SVN repo (Git, Mercurial, Bazaar), the URLs are published at: http://code.djangoproject.com/wiki/DjangoBranches#Distributedversioncontrolmirrors some of these provide tarballs with snapshots of the tree. HTH, -

Re: IOError with files uploads bigger than 2.5 MB

2008-07-14 Thread Ramiro Morales
k+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 --~--~-~--~~~---~--~~ You

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: 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: 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: Some Django unit tests fail...

2008-06-19 Thread Ramiro Morales
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 setuptools version solved the problems.

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. -- Ramiro Morales 1. h

Re: i18n issues.

2008-05-29 Thread Ramiro Morales
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: Authentication backend question

2008-05-12 Thread Ramiro Morales
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, docu

Re: Adding new language for i18n

2008-04-24 Thread Ramiro Morales
le 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 this message because you are subs

Re: Adding new language for i18n

2008-04-15 Thread Ramiro Morales
ges — 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 you' ve found seem to be re

Re: TemplateSyntaxError when moving from 0.96.1 to SVN

2008-04-13 Thread Ramiro Morales
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/BackwardsIncompatibleChanges

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 Mo

Re: lighttpd & django, fcgi issues

2008-04-07 Thread Ramiro Morales
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 case Django's manage.py runfastcgi + fl

Re: datetime 8 hours off

2008-04-01 Thread Ramiro Morales
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 subscrib

Re: Google Maps API

2008-03-30 Thread Ramiro Morales
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: django google maps

Re: Problems with Apache + mod_python [SOLVED]

2008-03-29 Thread Ramiro Morales
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. > This is because his project was loca

Re: revert database migration

2008-03-04 Thread Ramiro Morales
ution/ 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" group. To post to t

Re: Converting relational data to hiechical data

2008-02-21 Thread Ramiro Morales
thing 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 Google Groups

Re: Newbie sqlite3 dbshell confusion

2008-01-31 Thread Ramiro Morales
rchon=names=all=1=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 received this message because you are subsc

Re: Decimal separator

2008-01-31 Thread Ramiro Morales
'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://babel.edgewall

Re: SESSION_SAVE_EVERY_REQUEST creates new session?

2008-01-27 Thread Ramiro Morales
his 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 Groups "Django users" group. To po

Re: multilingual projects in django...

2008-01-26 Thread Ramiro Morales
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 Morales -

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: Passing a form via a generic view

2008-01-07 Thread Ramiro Morales
nding-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 t

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

Re: Django on MediaTemple (dv) howto?

2008-01-03 Thread Ramiro Morales
ple, 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 "Djang

Re: Django ldap, not ldap auth!

2007-11-26 Thread Ramiro Morales
view, both are named "ldap", you intend to call functions from the ldap module but inside the view function the ldap name is the name of request. hence the error. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you a

Re: Dynamically load objects

2007-11-16 Thread Ramiro Morales
; Do you want to reimplement or do you want to use get_model()?. If the answer is the latter you might find this article helpful: http://www.b-list.org/weblog/2007/nov/03/working-models/ Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because

Re: _real_get_response: global name '_' is not defined

2007-10-22 Thread Ramiro Morales
> NameError at / > global name '_' is not defined > See ticket #5795: http://code.djangoproject.com/ticket/5795 Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: extends isn't working

2007-10-22 Thread Ramiro Morales
of how template inheritance works in the no-tutorial documentation: http://www.djangoproject.com/documentation/templates/#template-inheritance -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &

Re: Index

2007-10-02 Thread Ramiro Morales
lete documentation: http://www.djangoproject.com/documentation/model-api/#db-index Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Strange error, trying to deploy Django with mod_wsgi

2007-09-24 Thread Ramiro Morales
o read directories/files under the missed user's home dir?. 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-u

Re: Hi,what's wrong with the runserver

2007-09-19 Thread Ramiro Morales
mysite Hmm a few strange things: * managemet.py does not exist on django * The error is about a "mysite" project but above thre is a \newsite\manage.py asi if the name of the project were "newsite" Are you sure that backtrace is a copy paste from the real one? Also, it

Re: cronjob

2007-09-18 Thread Ramiro Morales
n set/add the env vars (PYHTONPATH in this case) you need on the crontab. HTH -- 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 djang

Re: More deployment woes

2007-09-10 Thread Ramiro Morales
o 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 "Django users" group. To post to thi

Re: Parents and Childrens in the same table

2007-09-03 Thread Ramiro Morales
linstance.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.djangoproject.com

Re: Obtain a range of values out of the database

2007-09-02 Thread Ramiro Morales
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 --~--~-~--~~~---~--~~ You rec

<    1   2   3   4   >