Django 1.2.1. admin issue - You don't have permission to edit anything.

2010-06-07 Thread Sithembewena Lloyd Dube
Hi all,

I am using the latest Django release (1.2.1.) and I am having a problem with
activating the admin site.

I created a super user and modified my settings.py and urls.py files
accordingly, but when I log into the admin site, I see the message "You
don't have permission to edit anything."
My environment is Python 2.6 on Windows 7, Django 1.2.1. with SQLite. Any
suggestions?

-- 
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django 1.2.1. admin issue - You don't have permission to edit anything.

2010-06-07 Thread Sithembewena Lloyd Dube
Problem solved. I had not enabled the admin.autodiscover() code in my
urls.py file.

Thanks.

On Mon, Jun 7, 2010 at 9:19 AM, Sithembewena Lloyd Dube
wrote:

> Hi all,
>
> I am using the latest Django release (1.2.1.) and I am having a problem
> with activating the admin site.
>
> I created a super user and modified my settings.py and urls.py files
> accordingly, but when I log into the admin site, I see the message "You
> don't have permission to edit anything."
> My environment is Python 2.6 on Windows 7, Django 1.2.1. with SQLite. Any
> suggestions?
>
> --
> Regards,
> Sithembewena Lloyd Dube
> http://www.lloyddube.com
>



-- 
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Customization administration pages

2010-06-07 Thread stanleyxu2005
Hi All,

I have two questions:

1. The default title of adminstration page named "Django site admin".
I want to remove the prefix "Django" for production use. Is there any
easy way to change the translatable string, besides editing the
template in "/usr/lib/python/django/.../admin/base_site.html" or
recompiling all "django.po" files?

2. In the adminstration page, the model "group" is activated. But for
my application, this feature should not be visible in adminstration
page, is it possible to hide the model "group" in my application?

Best regards

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: new objects display first on admin filter display

2010-06-07 Thread Daniel Roseman
On Jun 7, 4:35 am, rahul jain  wrote:
> Hi Django,
>
> How to display ordering on admin filter in reverse order. Its a char Field
>
> I would like to display new objects created first.
>

Well, which? Do you want it reverse sorted by your charfield? Or do
you want to display new objects first? Those two seem to be opposing
requirements.
--
DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Customization administration pages

2010-06-07 Thread Daniel Roseman
On Jun 7, 9:01 am, stanleyxu2005  wrote:
> Hi All,
>
> I have two questions:
>
> 1. The default title of adminstration page named "Django site admin".
> I want to remove the prefix "Django" for production use. Is there any
> easy way to change the translatable string, besides editing the
> template in "/usr/lib/python/django/.../admin/base_site.html" or
> recompiling all "django.po" files?

http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#overriding-admin-templates

> 2. In the adminstration page, the model "group" is activated. But for
> my application, this feature should not be visible in adminstration
> page, is it possible to hide the model "group" in my application?

from django.contrib.auth.models import Group
from django.contrib import admin
admin.site.unregister(Group)

--
DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Customization administration pages

2010-06-07 Thread stanleyxu2005
Thanks, you made my day ^^)


On Jun 7, 10:18 am, Daniel Roseman  wrote:
> On Jun 7, 9:01 am, stanleyxu2005  wrote:
>
> > Hi All,
>
> > I have two questions:
>
> > 1. The default title of adminstration page named "Django site admin".
> > I want to remove the prefix "Django" for production use. Is there any
> > easy way to change the translatable string, besides editing the
> > template in "/usr/lib/python/django/.../admin/base_site.html" or
> > recompiling all "django.po" files?
>
> http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#overriding-ad...
>
> > 2. In the adminstration page, the model "group" is activated. But for
> > my application, this feature should not be visible in adminstration
> > page, is it possible to hide the model "group" in my application?
>
> from django.contrib.auth.models import Group
> from django.contrib import admin
> admin.site.unregister(Group)
>
> --
> DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: MacOSX error using " ./bin/django-admin.py startproject sdlsdl"

2010-06-07 Thread bvcelari
All rigth, I miss check compatibilities between versions... in linux
works perfectly
And finally you are in truth, i must change client computer OS
version.
Thank you very much

bvcelari


On Jun 6, 10:13 pm, Daniel Roseman  wrote:
> On Jun 6, 7:43 pm, bvcelari  wrote:
>
>
>
> > Hy, I´m quite newbie using MacOSX, had installed python, and django,
> > if in a python console "import python" no error appears, but if i try
> > to create a new project like
> > " ./bin/django-admin.py startproject sdlsdl " the next error appears:
>
> > Traceback (most recent call last):
> >   File "./bin/django-admin.py", line 2, in ?
> >     from django.core import management
> >   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> > python2.3/site-packages/django/core/management/__init__.py", line 7,
> > in ?
> >     from django.core.management.base import BaseCommand, CommandError,
> > handle_default_options
> >   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> > python2.3/site-packages/django/core/management/base.py", line 13, in ?
> >     from django.core.management.color import color_style
> >   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> > python2.3/site-packages/django/core/management/color.py", line 8, in ?
> >     from django.utils import termcolors
> >   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> > python2.3/site-packages/django/utils/termcolors.py", line 185
> >     opts = tuple(s for s in styles if s in opt_dict.keys())
> >                      ^
> > SyntaxError: invalid syntax
>
> > anyone knows how to fix it?
>
> > thx,
> > bvcelari.
>
> The latest version of Django (1.2) is not compatible with Python 2.3.
> Download 1.1 instead.
>
> Or, better, upgrade your version of Python - or even OS X. I presume
> you are running OS X Panther, which is now over 7 years old.
> --
> DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



error while migrating from 1.1 to 1.2

2010-06-07 Thread Filip Gruszczyński
I am trying to migrate our project from 1.1 to 1.2, but I get following error:

Traceback (most recent call last):
  File "./manage.py", line 11, in 
execute_manager(settings)
  File 
"/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py",
line 438, in execute_manager
utility.execute()
  File 
"/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py",
line 209, in execute
translation.activate('en-us')
  File 
"/usr/local/lib/python2.6/dist-packages/django/utils/translation/__init__.py",
line 66, in activate
return real_activate(language)
  File "/usr/local/lib/python2.6/dist-packages/django/utils/functional.py",
line 55, in _curried
return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs))
  File 
"/usr/local/lib/python2.6/dist-packages/django/utils/translation/__init__.py",
line 36, in delayed_loader
return getattr(trans, real_name)(*args, **kwargs)
  File 
"/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py",
line 193, in activate
_active[currentThread()] = translation(language)
  File 
"/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py",
line 176, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
  File 
"/usr/local/lib/python2.6/dist-packages/django/utils/translation/trans_real.py",
line 159, in _fetch
app = import_module(appname)
  File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
  File "/home/gruszczy/Programy/bozorth/../bozorth/notifications/__init__.py",
line 2, in 
from django.db.models.signals import post_save
  File "/usr/local/lib/python2.6/dist-packages/django/db/__init__.py",
line 75, in 
connection = connections[DEFAULT_DB_ALIAS]
  File "/usr/local/lib/python2.6/dist-packages/django/db/utils.py",
line 92, in __getitem__
conn = backend.DatabaseWrapper(db, alias)
  File 
"/usr/local/lib/python2.6/dist-packages/django/db/backends/sqlite3/base.py",
line 154, in __init__
super(DatabaseWrapper, self).__init__(*args, **kwargs)
TypeError: __init__() takes exactly 2 arguments (3 given)

Has anyone encountered it and know perhaps, what can be wrong?

-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



DjangoCon Early Bird Regstrations End Soon!

2010-06-07 Thread Steve Holden
Django users:

If you are coming to DjangoCon 2010 (in Portland, OR from September
7-9) then you should sign up soon to get early bird savings on your
registration. Early bird pricing closes on June 8!

  http://djangocon.us/

Hope to see you there!

regards
 Steve

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django is not work Error :Message

2010-06-07 Thread Jagdeep Singh Malhi
This the Error  message :

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, webmas...@localhost and
inform them of the time the error occurred, and anything you might
have done that may have caused the error.

More information about this error may be available in the server error
log.


Please help

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: error while migrating from 1.1 to 1.2

2010-06-07 Thread Filip Gruszczyński
OK, it seems, that django 1.2 simply doesn't work on my machine. I
have created an empty project and run ./manage shell and got the same
error. I have kept generated settings and only changed the following:

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add
'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'test.db3',  # Or path to database
file if using sqlite3.
'USER': '',  # Not used with sqlite3.
'PASSWORD': '',  # Not used with sqlite3.
'HOST': '',  # Set to empty string for
localhost. Not used with sqlite3.
'PORT': '',  # Set to empty string for
default. Not used with sqlite3.
}
}

What might be the reason? I don't have sqlite3 libraries?

-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django is not work Error :Message

2010-06-07 Thread Dmitry Dulepov
Hi!

It gices you a hint:

Jagdeep Singh Malhi wrote:
> More information about this error may be available in the server error
> log.

Please, check the web server error log. You will see errors there.
Sometimes you can see them in the browser if you set DEBUG = True in your
settings.py.

-- 
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: error while migrating from 1.1 to 1.2

2010-06-07 Thread Filip Gruszczyński
It seems that some old 1.1.2 eggs must have been messing with me. I
have removed them all and it works now just right.

-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Problems with email and Django 1.2.1

2010-06-07 Thread José María
Hi.

I've a strange problem while sending emails. I need to send emails
with utf-8 content in the body and subject. While subjects show text
fine, bodies always appear to have encoding problems.

My test code is really simple:

cadena =

send_mail('Cosas que hacer mañana',
  'José María tiene mañana una reunión.',
  'josema...@localhost',
  ['josema...@localhost'],
  fail_silently=False)

This is what appear in console with using EMAIL_BACKEND =
'django.core.mail.backends.console.EmailBackend' :


Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Subject: =?utf-8?q?Cosas_que_hacer_ma=C3=B1ana?=
From: josema...@localhost
To: josema...@localhost
Date: Mon, 07 Jun 2010 10:52:54 -
Message-ID: <20100607105254.11472.75...@rufus.simpleoption.com>

Jos=C3=A9 Mar=C3=ADa tiene ma=C3=B1ana una reuni=C3=B3n.


Once decoded this is the body (Thunderbird):

José María tiene mañana una reunión.

This must be a really stupid error, but I don't find it.

Thanks!

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problems with email and Django 1.2.1

2010-06-07 Thread Tom Evans
On Mon, Jun 7, 2010 at 10:57 AM, José María  wrote:
> Hi.
>
> I've a strange problem while sending emails. I need to send emails
> with utf-8 content in the body and subject. While subjects show text
> fine, bodies always appear to have encoding problems.
>
> My test code is really simple:
>
> cadena =
>
> send_mail('Cosas que hacer mañana',
>                  'José María tiene mañana una reunión.',
>                  'josema...@localhost',
>                  ['josema...@localhost'],
>                  fail_silently=False)
>
> This is what appear in console with using EMAIL_BACKEND =
> 'django.core.mail.backends.console.EmailBackend' :
>
>
> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: quoted-printable
> Subject: =?utf-8?q?Cosas_que_hacer_ma=C3=B1ana?=
> From: josema...@localhost
> To: josema...@localhost
> Date: Mon, 07 Jun 2010 10:52:54 -
> Message-ID: <20100607105254.11472.75...@rufus.simpleoption.com>
>
> Jos=C3=A9 Mar=C3=ADa tiene ma=C3=B1ana una reuni=C3=B3n.
>
>
> Once decoded this is the body (Thunderbird):
>
> José María tiene mañana una reunión.
>
> This must be a really stupid error, but I don't find it.
>
> Thanks!

I think the error is in your email client - that looks like perfectly
valid UTF-8 content in a quoted-printable transfer encoding, with the
correct headers.

>>> a='Jos\xc3\xa9'
>>> a.decode('utf-8')
u'Jos\xe9'
>>> print a.decode('utf-8')
José


Cheers

Tom

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



How to write the reverse function for the following

2010-06-07 Thread Superman
The urlconf:
   url(r'^register/$',
   register,
   { 'backend':
'registration.backends.default.DefaultBackend' },
   name='registration_register'),
The view:
def register(request, backend, success_url=None,
form_class=None,
 
disallowed_url='registration_disallowed',
 template_name='registration/
registration_form.html',
 extra_context=None):

What i want to do is redirect users to the register page and specify a
success_url. I tried reverse('registration.views.register',
kwargs={'success_url':'/test/' }) but that doesn't seem to work. I've
been trying for hours and can't get my mind around getting it right.
Thanks

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Filip Gruszczyński
I have just upgraded to 1.2 and when I run ./manage runserver and
tried to open main page of our project first I was asked to login and
when I hit enter I got:

Forbidden (403)
CSRF verification failed. Request aborted.

I haven't turned CSRF protection when I was using 1.1.1, so my project
should be ready to go, but it isn't. What I might be doing still
wrong?

-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Kenneth Gonsalves
On Monday 07 June 2010 17:53:46 Filip Gruszczyński wrote:
> I have just upgraded to 1.2 and when I run ./manage runserver and
> tried to open main page of our project first I was asked to login and
> when I hit enter I got:
> 
> Forbidden (403)
> CSRF verification failed. Request aborted.
> 
> I haven't turned CSRF protection when I was using 1.1.1, so my project
> should be ready to go, but it isn't. What I might be doing still
> wrong?
> 

it is on by default isn't it?
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Filip Gruszczyński
Docs say:

If you do not have any of the middleware in your MIDDLEWARE_CLASSES,
you will have a working installation but without any CSRF protection
for your views (just as you had before). It is strongly recommended to
install CsrfViewMiddleware and CsrfResponseMiddleware, as described
above.

So I thought I don't have to do anything. Can I disable it somehow?

2010/6/7 Kenneth Gonsalves :
> On Monday 07 June 2010 17:53:46 Filip Gruszczyński wrote:
>> I have just upgraded to 1.2 and when I run ./manage runserver and
>> tried to open main page of our project first I was asked to login and
>> when I hit enter I got:
>>
>> Forbidden (403)
>> CSRF verification failed. Request aborted.
>>
>> I haven't turned CSRF protection when I was using 1.1.1, so my project
>> should be ready to go, but it isn't. What I might be doing still
>> wrong?
>>
>
> it is on by default isn't it?
> --
> Regards
> Kenneth Gonsalves
> Senior Associate
> NRC-FOSS at AU-KBC
>
> --
> 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 this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>



-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Karen Tracey
2010/6/7 Filip Gruszczyński 

> Docs say:
>
> If you do not have any of the middleware in your MIDDLEWARE_CLASSES,
> you will have a working installation but without any CSRF protection
> for your views (just as you had before). It is strongly recommended to
> install CsrfViewMiddleware and CsrfResponseMiddleware, as described
> above.
>
> So I thought I don't have to do anything. Can I disable it somehow?


I suspect you are using the contrib.auth login view. All contrib app views
use the csrf_protect decorator ("All contrib apps use a csrf_protect
decorator to protect the view. This requires the use of the csrf_token
template tag in the template. If you have used custom templates for contrib
views, you MUST READ THE UPGRADE INSTRUCTIONS to fix those templates.") You
need to update the login template you are using to include the {% csrf_token
%} tag.

Karen
-- 
http://tracey.org/kmt/

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Kenneth Gonsalves
On Monday 07 June 2010 18:00:53 Filip Gruszczyński wrote:
> If you do not have any of the middleware in your MIDDLEWARE_CLASSES,
> you will have a working installation but without any CSRF protection
> for your views (just as you had before). It is strongly recommended to
> install CsrfViewMiddleware and CsrfResponseMiddleware, as described
> above.
> 
> So I thought I don't have to do anything. Can I disable it somehow?
> 

rather than disable it, why do you not use it? it's going to be there for a 
long time, and although it is a bit tedious to enable it, it is worth doing 
once and for all - remember that this is practically the only security hole 
found in django after nearly 5 years of release.
-- 
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Template issue, maybe?

2010-06-07 Thread Tim Walter
This turned out to be an issue in my settings.py, I had to point the media
(jss/css/etc) to the correct directory.

On 6/4/10, Vectar  wrote:
>
> Hello all,
>
> New to Django, I have been through all the tutorials and verified
> things appeared to be working. I am running a windows server 2003
> license, with Apache 2.1.2 I  think It is 2 something anyhow. I have
> Python 2.6 installed and I have The latest version available to me of
> the mod_wsgi interface. And when I run this all via pythin manage.py
> runserver 8080 everything works great.
>
> So with that done I need to be able to host it on Apache... so I set
> up my Alias and my  stanza within my conf file.
>
> Now, my actual problem, when I look at localhost:8080\admin I get
> exactly what you would expect, my classes all laid out on the default
> soft blue background. When I look http://wiki.mydomaincom/DBMon/admin/
> (via Apache) I get all the links I expect, and they work as expected,
> but they are all down the left side of the page with none of the
> coloring is there.
>
> It is like the template is not being read, so I added a local admin
> template directory to my settings.py and copied over the admin/base-
> site template to a local folder and changed the "Django
> Administration" heading to "My Custom Line" and when I reloaded the
> pages they both showed the cooresponding changes.
>
>
> http://thedjangoforum.com/static/var/sphene/sphwiki/attachment/2010/06/03/django_img.gif
>
> Any ideas on what piece is still missing?
>

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django + ajax

2010-06-07 Thread Dmitry Dulepov
Hi!

tazimk wrote:
> Also how should I implement the same thing using jquery library ?

This may help: http://www.google.com/search?&q=django+jquery+ajax

-- 
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Filip Gruszczyński
> I suspect you are using the contrib.auth login view. All contrib app views
> use the csrf_protect decorator ("All contrib apps use a csrf_protect
> decorator to protect the view. This requires the use of the csrf_token
> template tag in the template. If you have used custom templates for contrib
> views, you MUST READ THE UPGRADE INSTRUCTIONS to fix those templates.") You
> need to update the login template you are using to include the {% csrf_token
> %} tag.

Thanks a lot, Karen. You are always right ;-) and this time it worked too :-)

-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Haven't enabled CSRF protection and yet server throws CSRF based 403

2010-06-07 Thread Filip Gruszczyński
> rather than disable it, why do you not use it? it's going to be there for a
> long time, and although it is a bit tedious to enable it, it is worth doing
> once and for all - remember that this is practically the only security hole
> found in django after nearly 5 years of release.

I guess we will slowly move in this direction, but for now I just
would like to upgrade our project to 1.2, because it has some feature
we would like use.

-- 
Filip Gruszczyński

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Multiple languages question about /jsi18n/

2010-06-07 Thread Stodge
I have the jsi18n view defined in my URLs. I've added a call to
gettext() in javascript and added the string definition in
djangojs.po. I then compiled the messages and re-started the server.
But the resulting string retrieved from gettext() is the tag, e.g.
'my_title'.

Did I forget something? I'm sure I have everything setup, but my
catalog is always empty.

On Jun 4, 10:49 am, Stodge  wrote:
> I think I have basic internationalisation working for english and
> french. I can switch languages and change the page's title
> accordingly. However, if I visit:
>
> /jsi18n/
>
> I see the catalog definition and a few gettext related functions etc.
> However, these are defaults and the translations in the catalog are
> not mine and are always french, regardless of the language.
>
> What are these translations in the catalog and why are they always
> french? Any ideas? Thanks

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Using array of URLs for MEDIA_URL

2010-06-07 Thread Martin Siniawski
Hey guys,

I wanted to ask if there's any way or accepted solution for using more
than one URL simultaneously as the MEDIA_URL, so as to enable browsers
to further parallelize the download of static content. That is, having
something like:

MEDIA_URL = [ 'static1.site.com', 'static2.site.com',
'static3.site.com' ]

I've been searching through the group, documentation and online but
couldn't find anything that addressed the subject.

Thanks,
Martin

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Noobie and MySQL Latin1

2010-06-07 Thread Fred
I'm just converting to Django and man is it cool.  Please accept my
appreciation for a job well done and my apologies for taking your time
with such beginner questions as:

I have searched the group and found excellent information about
converting latin1 to utf8, but that's not my issue.

I've got a brand new application.  It stores ~500 1 character values
to represent user selections on a massive government form.  The
requirements are such that there is absolutely no way it can ever need
unicode.  I've had some trouble in the past dealing with Python and
unicode, perhaps because I'm an "old-timer" and unicode was never an
issue in any of my apps before.

I'm just working through the basic tutorial and I notice that the
fields in a model object are unicode.

I'm using Flex for my UI, which also sends unicode in it's HTTPRequest
object.

Other (non-python, non-unicode savvy) developers will be writing a few
queries to this DB, but never editing it.  I don't want them to see
unicode if at all possible.

Should I just "suck it up" and use the unicode, or is there some
Pythonic way to make all values ASCII/latin1 and similarly convert the
parameters coming in on the http requests.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Using array of URLs for MEDIA_URL

2010-06-07 Thread Steven L Smith
Hi Martin-

I don't know what the "official" answer would be, but you could write your own 
context processor that had something like:

from random import choice
MEDIA_URLS =  'static1.site.com', 'static2.site.com', 'static3.site.com' ]
def media(request):
return {'MEDIA_URL': choice(MEDIA_URLS)}

Then, in settings.py, include your custom context processor instead of the one 
built-in to to Django.

-Steve




Steven L Smith, Web Developer
Department of Information Technology Services
Nazareth College of Rochester
585-389-2085   |   ssmit...@naz.edu
http://www.naz.edu/pub/~ssmith46


-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django + ajax

2010-06-07 Thread Phlip
On Jun 7, 4:48 am, tazimk  wrote:

> Also how should I implement the same thing using jquery library ?

Isn't that how the online examples all work?

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: How to write the reverse function for the following

2010-06-07 Thread Alex Robbins
Clark,

The reverse call just uses kwargs to find out which pattern it matches
to. If your url regex was r'^register/(?P\w+)/', then you
would pass kwarg1 as a kwarg to reverse. You are not trying to find a
url with a kwarg in the regex, so you shouldn't be adding that in the
reverse call. You just need to make a second url entry that has the
special success kwarg setup already. Give it a different name and
regex, then reverse to it directly.

Hope that helps,
Alex

On Jun 7, 6:54 am, Superman  wrote:
> The urlconf:
>                    url(r'^register/$',
>                        register,
>                        { 'backend':
> 'registration.backends.default.DefaultBackend' },
>                        name='registration_register'),
> The view:
>                     def register(request, backend, success_url=None,
> form_class=None,
>
> disallowed_url='registration_disallowed',
>                                  template_name='registration/
> registration_form.html',
>                                  extra_context=None):
>
> What i want to do is redirect users to the register page and specify a
> success_url. I tried reverse('registration.views.register',
> kwargs={'success_url':'/test/' }) but that doesn't seem to work. I've
> been trying for hours and can't get my mind around getting it right.
> Thanks

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: How to pass List to Form Meta Class

2010-06-07 Thread Bill Freeman
If I understand you correctly, this is difficult.

If there are just a few possible value sets for "fields" it is better to make
several form classes, one for each subset of the fields that you will need,
and choose which form to instantiate depending on which set of fields you
want.

Note: The order of fields in the Feta class fields object does not affect the
order of fields on the page.

If the set of fields is truely dynamic, you will need, I believe, to
use internal
interfaces of the forms machinery, which are not guaranteed to remain the
same from one Django version to the next.

Bill

On Sat, Jun 5, 2010 at 1:58 PM, ars_sim  wrote:
> Hello All,
> I am newbie in django and I will very thankful to you if you help me
> in this regard.
>
> I want to pass list of fields from view to Meta class of FormModel.
> Please check this example.
>
> view.py:
>   fields = [name, email, phone]
>   individual_form = IndividualForm(fields)
>
> forms.py
> class IndForm(forms.ModelForm):
>   class Meta:
>        model = Ind
>        fields = (
>            'name',
>            'email',
>            'phone',
>        )
>
> I want to access view fields array into forms Meta class. I am not
> sure I can do this or not.
> Any idea! how can I do this?
>
> Regards,
>
> --
> 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 this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Cycle tag since 1.2

2010-06-07 Thread cootetom
Thanks, I've used the method that you have explained. I've had a read
of the ticket on this and there is now a patch which I've used so I
can pass a parameter into the cycle tag to tell it now to write an
output.



On Jun 7, 2:38 am, Russell Keith-Magee 
wrote:
> On Sun, Jun 6, 2010 at 8:05 AM, cootetom  wrote:
> > Hi all,
>
> > I've decided to upgrade to 1.2 but have hit a stumbling block with the
> > cycle tag. The release notes 
> > herehttp://docs.djangoproject.com/en/dev/releases/1.2/#stateful-template-...
> > say that because of the new thread safe template renderer that
> > including another template whilst inside a loop means the included
> > template doesn't know the state of the cycle tag.
>
> > So I understand why this was done but I'm also trying to find a way to
> > now make my templates work. I always put the HTML for table rows in
> > their own template and then include them in the page template inside
> > loops. This is because if I then need to create just a single table
> > row then I have the template that does that. However I can't figure
> > out now how to inform the included template which row class names to
> > use as I've always used the cycle tag in the past.
>
> > Has anyone else come up with a pattern to solve this?
>
> Sure - Move the cycle tag outside the include.
>
> Included templates inherit the context from the template that does the
> including, so if you define the cycle tag outside the include using
> the "as X" assignment syntax, you can use that variable in your
> template. So, if you previously had:
>
> {% for x in values %}
>    {% include "subtemplate.html" %}
> {% endfor %}
>
> with subtemplate.html of:
>
> {% cycle 'a' 'b' %}
>
> you can replace this with:
>
> {% for x in values %}
>     
>     {% include "subtemplate.html" %}
> {% endfor %}
>
> with a subtemplate.html of:
> {{ row }}
>
> The one slight complication is that {% cycle 'a' 'b' as row %} outputs
> the value of the cycle. This means you'll need to find some way to
> hide this output (such as putting it in a HTML comment as in the
> example I have given). This is a known issue (#13567), but it's not
> trivial to fix because there are some backwards-compatibility issues
> that need to be addressed.
>
> Yours,
> Russ Magee %-)

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Loading more than one templatetag library at a time

2010-06-07 Thread Thomas Allen
Hi everyone,

I have a template tag directory:

templatetags/
|-__init__.py
|-all.py
|-contrib.py
|-forms.py
|-menus.py
|-sites.py
`-utils.py

And I tried to use all.py "{% load all %}" as a shortcut for including
all of these:

# all.py
from contrib import *
from forms import *
from menus import *
from sites import *
from utils import *

However, none of the template tags are available. I imagine this has
something to do {% load %} using the module's register variable to
load in tags (if the error raised by omitting "register" is any
indication), and here the register variables would clash.

Is there some way to use a single template library to include many?

Thanks,
Thomas

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Aggregation of related tables

2010-06-07 Thread Łukasz Rekucki
On Jun 6, 10:12 pm, Tomas Kouba  wrote:
> Hello all,
>
> I am writing an application that often lists objects and some of their
> attributes in tables.
> I get the list in my view and then access attributes in template.
> It means that the table rendering results in many simple sql queries
> (first to get the list and then
> one query for every row).
> Is there a way how to this in a more effective way? I can get the data
> with one sql query
> but it would involve some "low level" python DB access and I am curious
> if this is possible
> in a more "djangoish" way.
Sounds like select_related() is the thing you need:
http://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.QuerySet.select_related

>
> Thank you,
>
> --
> Tomas Kouba

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Best intranet solution for a small digital agency?

2010-06-07 Thread Rob B (uk)
I work for a small digital agency (10-15 employees).  We design and
build websites (using php and Django).  Are we better off building our
own intranet using django or going for a pre built (free or paid for)
solution?

Key features needed:

 - Project management (basecamp clone)
 - Time reporting
 - Local and external file sharing (dropbox clone)

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Multiple languages question about /jsi18n/

2010-06-07 Thread Stodge
Ok I think I see what's happening. I have js strings defined in
project/locale and project/app/locale. jsi18n isn't picking up the
project level strings but it is seeing the app strings. This doesn't
sound right to me.

On Jun 7, 9:06 am, Stodge  wrote:
> I have the jsi18n view defined in my URLs. I've added a call to
> gettext() in javascript and added the string definition in
> djangojs.po. I then compiled the messages and re-started the server.
> But the resulting string retrieved from gettext() is the tag, e.g.
> 'my_title'.
>
> Did I forget something? I'm sure I have everything setup, but my
> catalog is always empty.
>
> On Jun 4, 10:49 am, Stodge  wrote:
>
>
>
> > I think I have basic internationalisation working for english and
> > french. I can switch languages and change the page's title
> > accordingly. However, if I visit:
>
> > /jsi18n/
>
> > I see the catalog definition and a few gettext related functions etc.
> > However, these are defaults and the translations in the catalog are
> > not mine and are always french, regardless of the language.
>
> > What are these translations in the catalog and why are they always
> > french? Any ideas? Thanks

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: new objects display first on admin filter display

2010-06-07 Thread rahul jain
Hi Daniel,

New objects first on the filter display, but my filter is applied on Charfield.

So for ex: , I am creating like suppose x number of objects with a
field with value key_timestamp (charfield).

Then I am creating a filter on the CharField. I am not sure how its
implementing it but its displaying (key_timetamp) in a reverse order
(I mean older to newest). I was expecting it to be a random order
since its a charfield. So I would like it to display newly created
key_timestamp first. So that I can get all the new objects with that
timestamp.

--RJ

On Mon, Jun 7, 2010 at 1:17 AM, Daniel Roseman  wrote:
> On Jun 7, 4:35 am, rahul jain  wrote:
>> Hi Django,
>>
>> How to display ordering on admin filter in reverse order. Its a char Field
>>
>> I would like to display new objects created first.
>>
>
> Well, which? Do you want it reverse sorted by your charfield? Or do
> you want to display new objects first? Those two seem to be opposing
> requirements.
> --
> DR.
>
> --
> 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 this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django sessions issue

2010-06-07 Thread aa56280
> You better show some code now...

My urls.py has the following entry:
(r'^accounts/logout/$', 'django.contrib.auth.views.logout',
{'next_page' : '/'})

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ASCII problem strikes again - Caught DjangoUnicodeDecodeError while rendering...

2010-06-07 Thread zayatzz
Some time ago i found a problem that at the time remained unsloved
cause i lacked the time to track down the issue. The thread about last
problem can be found here :
http://groups.google.com/group/django-users/browse_thread/thread/5f444a06bdfd8fde/d57a901bf9a7b4b6

The new problem i have is with app i've been creating for myself for
fifa world cup 2010. I have this model for games:
class Game(models.Model):
  type = models.PositiveSmallIntegerField(choices=TYPE_CHOICES,
blank=False, null=False)
  teamone = models.CharField(max_length=100, blank=False,
null=False)
  teamonescore = models.IntegerField(blank=True, null=True)
  teamtwo = models.CharField(max_length=100, blank=False,
null=False)
  teamtwoscore = models.IntegerField(blank=True, null=True)
  gametime = models.DateTimeField(blank=False, null=False)

  def __unicode__(self):
return u"%s vs %s" % ( self.teamone, self.teamtwo )

Problem rised when i was trying to see the list of whole games, after
entering match number 13, Côte d'Ivoire vs Portugal.

Error is:
http://dpaste.com/204330/

As far as i can tell i have not doing anyting wrong.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Making query with LIKE where __contains is not enough.

2010-06-07 Thread Gyanit Singh
2 %% works perfectly.
For future stumblers of this post.
CLASSNAME.objects.raw("select * from table where full_name like'%%ipod%
%nano%%' ") works!!

Thanks mrfunyon.
ps: This should be added to the doc.

On Jun 6, 9:03 pm, mrfunyon  wrote:
> Try using 2 %'s  in your query
> like this:
> CLASSNAME.objects.raw("select * from table where full_name like
> '%%ipod%%nano%%' ")
>
> On Jun 6, 6:17 pm, Gyanit Singh  wrote:
>
> > Hi All,
>
> > As start I know there is __contains [http://docs.djangoproject.com/en/
> > dev/ref/models/querysets/#contains]. But it only does LIKE '%word%'
> > query.
>
> > I want to do LIKE '%word1%word2%' query.
>
> > for e.g. select * from table where column LIKE '%ipod%nano%'.
>
> > The raw sql query is trying to replace percentage and throwing error
> > that there are no parameters.
>
> > both CLASSNAME.objects.raw("select * from table where full_name like
> > '%ipod%nano%' ")
> > CLASSNAME.objects.raw("select * from table where full_name like '\%ipod
> > \%nano\%' ")
> > throws
> > Traceback (most recent call last):
> >   File "", line 1, in 
> >   File "C:\Python26\lib\site-packages\django\db\models\query.py", line
> > 1376, in __repr__
> >     return "" % (self.raw_query % self.params)
> > TypeError: not enough arguments for format string
>
>

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Module loading error in django trunk.

2010-06-07 Thread scanelas
Hi,

I'm a newbie with Python and Django framework and my english
sucks...but I have basicly the same problem that BEN...how I access to
fix this bug in my machine? I can download a patch or something? or
download the last version of Python? Help me please...

Thanks in advice...

On May 20, 3:50 am, njoyce  wrote:
> > Now that we have a fully PEP 302 compliantloadingstructure, it is exposing 
> > bugs in the PyAMF loader implementation.
>
> Indeed it is - we have already come across this issue and fixed it -
> checkhttp://dev.pyamf.org/ticket/770for details.
>
> Cheers,
>
> Nick
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Djangousers" group.
> To post to this group, send email todjango-us...@googlegroups.com.
> To unsubscribe from this group, send email 
> todjango-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: MacOSX error using " ./bin/django-admin.py startproject sdlsdl"

2010-06-07 Thread JohnC
Took a long time to realize this, but Python 2.4 is compatible with
both Django and Panther.

But Python doesn't include built-in SQLLite until 2.5.

So there's more configuration fun, on the SQL front, if you try to
thread that needle. Still trying to navigate that one.

- John Campbell

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ASCII problem strikes again - Caught DjangoUnicodeDecodeError while rendering...

2010-06-07 Thread Karen Tracey
On Mon, Jun 7, 2010 at 1:41 PM, zayatzz  wrote:

> Some time ago i found a problem that at the time remained unsloved
> cause i lacked the time to track down the issue. The thread about last
> problem can be found here :
>
> http://groups.google.com/group/django-users/browse_thread/thread/5f444a06bdfd8fde/d57a901bf9a7b4b6
>
> The new problem i have is with app i've been creating for myself for
> fifa world cup 2010. I have this model for games:
> class Game(models.Model):
>  type = models.PositiveSmallIntegerField(choices=TYPE_CHOICES,
> blank=False, null=False)
>  teamone = models.CharField(max_length=100, blank=False,
> null=False)
>  teamonescore = models.IntegerField(blank=True, null=True)
>  teamtwo = models.CharField(max_length=100, blank=False,
> null=False)
>  teamtwoscore = models.IntegerField(blank=True, null=True)
>  gametime = models.DateTimeField(blank=False, null=False)
>
>  def __unicode__(self):
>return u"%s vs %s" % ( self.teamone, self.teamtwo )
>
> Problem rised when i was trying to see the list of whole games, after
> entering match number 13, Côte d'Ivoire vs Portugal.
>
> Error is:
> http://dpaste.com/204330/
>
> As far as i can tell i have not doing anyting wrong.
>

What is listed in list_display for the ModelAdmin for the Game model?
Traceback seems to show you've got a callable attribute on the model listed
there, and that is the item that is causing trouble. It would be easier to
diagnose if I could see what that model attribute is defined to do.

Karen
-- 
http://tracey.org/kmt/

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



deserialize object using simplejson

2010-06-07 Thread nissu
Hello list,

I'm looking for info on how to deserialize something like this:

{
"pk": 1,
"model": "store.book",
"fields": {
"name": "Mostly Harmless",
"author": ["Douglas", "Adams"]
}


into a django object

Any help will be appreciated :)

regards,

Genis

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



User-level permissions?

2010-06-07 Thread bax...@gretschpages.com
OK, I'm going nuts. For some reason, my user-level permissions have
disappeared. I can change permissions at the group level, but at the
user level I can only assign groups -- I can no longer just add
individual permissions to that individual user.

Any suggestions on where the functionality may have gone?

I don't think I've done anything to much about with
django.contrib.auth.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ManyToMany field documented correctly on django docs ?

2010-06-07 Thread gvkalra
Hi.
Please have a look here: 
http://docs.djangoproject.com/en/1.2/topics/db/models/#many-to-many-relationships

The line I am pointing to is:
As with ForeignKey, you can also create recursive relationships (an
object with a many-to-one relationship to itself) and relationships to
models not yet defined; see the model field reference for details.

shouldn't that be: an object with a many-to-many (instead of many-to-
one) relationship to itself ? Since the relation is recursive but also
has many-to-many property at the same time!

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ASCII problem strikes again - Caught DjangoUnicodeDecodeError while rendering...

2010-06-07 Thread zayatzz
> What is listed in list_display for the ModelAdmin for the Game model?
> Traceback seems to show you've got a callable attribute on the model listed
> there, and that is the item that is causing trouble. It would be easier to
> diagnose if I could see what that model attribute is defined to do.
>
> Karen
> --http://tracey.org/kmt/

At that time it was just:
# -*- coding: utf-8 -*-
from django.contrib import admin
from jalka.game.models import Game

admin.site.register(Game)

now its:
# -*- coding: utf-8 -*-
from django.contrib import admin
from jalka.game.models import Game

class GameAdmin(admin.ModelAdmin):
list_display = ['id', 'teamone', 'teamtwo',]

admin.site.register(Game, GameAdmin)

and its working.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



no checkboxes for read only objects

2010-06-07 Thread rahul jain
Hi Django,

Is this possible ?

On change list page, I would like to provide check boxes only for the
objects which could be effected by admin actions.
But for some of the objects I would not like to provide admin actions
since I don't wont them to be modified.

check box if we can modify the object, otherwise not.

--RJ

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: deserialize object using simplejson

2010-06-07 Thread Daniel Roseman
On Jun 7, 8:53 pm, nissu  wrote:
> Hello list,
>
> I'm looking for info on how to deserialize something like this:
>
> {
>     "pk": 1,
>     "model": "store.book",
>     "fields": {
>         "name": "Mostly Harmless",
>         "author": ["Douglas", "Adams"]
>     }
>
> into a django object
>
> Any help will be appreciated :)
>
> regards,
>
> Genis

Did you try looking in the documentation under 'serialization'?
http://docs.djangoproject.com/en/1.2/topics/serialization/
--
DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ASCII problem strikes again - Caught DjangoUnicodeDecodeError while rendering...

2010-06-07 Thread Daniel Roseman
On Jun 7, 9:23 pm, zayatzz  wrote:
> > What is listed in list_display for the ModelAdmin for the Game model?
> > Traceback seems to show you've got a callable attribute on the model listed
> > there, and that is the item that is causing trouble. It would be easier to
> > diagnose if I could see what that model attribute is defined to do.
>
> > Karen
> > --http://tracey.org/kmt/
>
> At that time it was just:
> # -*- coding: utf-8 -*-
> from django.contrib import admin
> from jalka.game.models import Game
>
> admin.site.register(Game)
>
> now its:
> # -*- coding: utf-8 -*-
> from django.contrib import admin
> from jalka.game.models import Game
>
> class GameAdmin(admin.ModelAdmin):
>         list_display = ['id', 'teamone', 'teamtwo',]
>
> admin.site.register(Game, GameAdmin)
>
> and its working.

Guarantee the problem is with your __unicode__ method on the Game
model, in that case (it's probably not returning unicode). Even though
the admin is now working, you should fix it or you'll almost certainly
get unexpected 500 errors later.
--
DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: new objects display first on admin filter display

2010-06-07 Thread Daniel Roseman
On Jun 7, 5:25 pm, rahul jain  wrote:
> Hi Daniel,
>
> New objects first on the filter display, but my filter is applied on 
> Charfield.
>
> So for ex: , I am creating like suppose x number of objects with a
> field with value key_timestamp (charfield).
>
> Then I am creating a filter on the CharField. I am not sure how its
> implementing it but its displaying (key_timetamp) in a reverse order
> (I mean older to newest). I was expecting it to be a random order
> since its a charfield. So I would like it to display newly created
> key_timestamp first. So that I can get all the new objects with that
> timestamp.
>
> --RJ
>

You can always do:
ordering = ('-mycharfield',)
in the model's inner Meta class, or in the modeladmin class, although
I still don't understand how it is being ordered by the timestamp when
the 'key' element of the field is before that, but never mind.
--
DR.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Latest wisdom on 'small migrations'

2010-06-07 Thread Dave E
Thanks for the advice. South installed, but glitches on converting
(that I'll no doubt iron out).

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django/MySQL trailing spaces bug?

2010-06-07 Thread Steven Davidson
Hi all,

Not sure if this is actually a bug (or has already been spotted but couldn't
see a trac ticket for it). It seems MySQL has some peculiarities in the way
it treats trailing spaces in character
columns:
they will be ignored for comparison purposes so the following test case
passes on MySQL:
class ShowBug(models.Model):
"""
>>> from testcase.models import  ShowBug
>>> sb = ShowBug(name='this has a trailing space ', shoe_size=41)
>>> sb.save()
>>> ShowBug.objects.filter(name__exact='this has a trailing space')
[]

>>> ShowBug.objects.filter(name__exact='THIS has a trailing space')
[]

>>> ShowBug.objects.filter(name__exact='this has a trailing space ')
[]

>>> ShowBug.objects.filter(name__exact='THIS has a trailing space ')
[]

>>> ShowBug.objects.filter(name__iexact='this has a trailing space')
[]

>>> ShowBug.objects.filter(name__iexact='THIS has a trailing space')
[]

"""
name = models.CharField(max_length=100)
shoe_size = models.IntegerField()

def __unicode__(self):
return '[%s]' % (self.name,)

But won't pass on SQLite, for instance.

I understand that the *exact* operator is relying on the (case insensitive
by default) MySQL DB collation and I'm happy with this. It also seems to be
relying on the DB's comparison engine (which IMHO appears broken in
MySQL). I would say the behaviour of *iexact* certainly looks inconsistent
as it is *more* exact than *exact* but on balance it appears that *exact* is
not doing the right thing here?

I'm using Django 1.2.1 and MySQL 5.1.47 on Mac OS X Leopard (but originally
spotted on Fedora 12 with MySQL 5.1.44, I think).

It has been a pleasure working with Django these last 5 months or so! I can
post code to a trac ticket if that could be useful.
Steven.

P.S. Happy to try and help fix if it needs that, but might need some help
getting started.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Best intranet solution for a small digital agency?

2010-06-07 Thread Russell Keith-Magee
On Tue, Jun 8, 2010 at 12:12 AM, Rob B (uk)  wrote:
> I work for a small digital agency (10-15 employees).  We design and
> build websites (using php and Django).  Are we better off building our
> own intranet using django or going for a pre built (free or paid for)
> solution?
>
> Key features needed:
>
>  - Project management (basecamp clone)
>  - Time reporting
>  - Local and external file sharing (dropbox clone)

I would suggest that this problem is one of the classic examples
subject to Hofstader's Law [1] :-).

Your engineering time is expensive. Even a paid subscription service
to basecamp, et al will cost you less than a billable hour per month.
Unless:
 * You want to get into the custom intranet business, and you need a
working example to demo to clients and build up your engineering
resources, or
 * You think you can build an full intranet in a couple of hours, or
 * You have some seriously custom intranet requirements

I suspect you'll find that using a pre-built service will be much
cheaper than a build-it-yourself solution.

[1] http://en.wikipedia.org/wiki/Hofstadter's_law

Yours,
Russ Magee %-)

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ManyToMany field documented correctly on django docs ?

2010-06-07 Thread Russell Keith-Magee
On Tue, Jun 8, 2010 at 4:07 AM, gvkalra  wrote:
> Hi.
> Please have a look here: 
> http://docs.djangoproject.com/en/1.2/topics/db/models/#many-to-many-relationships
>
> The line I am pointing to is:
> As with ForeignKey, you can also create recursive relationships (an
> object with a many-to-one relationship to itself) and relationships to
> models not yet defined; see the model field reference for details.
>
> shouldn't that be: an object with a many-to-many (instead of many-to-
> one) relationship to itself ? Since the relation is recursive but also
> has many-to-many property at the same time!

Looks like a typo to me. Please open a ticket so that this isn't forgotten.

Yours,
Russ Magee %-)

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



IndentationError: unexpected indent for Django-1.2.1, Python 2.6.4 on ubuntu

2010-06-07 Thread albert kao
I downloaded  Django-1.2.1 and installed it for Python 2.6.4 on
ubuntu.
Please help to fix the IndentationError: unexpected indent problem.
Thanks.

$ uname -a
Linux core2quad 2.6.31-17-generic-pae #54-Ubuntu SMP Thu Dec 10
17:23:29 UTC 2009 i686 GNU/Linux

$tar xzvf Django-1.2.1.tar.gz
$cd Django-1.2.1
$sudo python setup.py install


$ python
Python 2.6.4 (r264:75706, Dec  7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>  import django
  File "", line 1
import django
^
IndentationError: unexpected indent
>>>  import django
  File "", line 1
import django
^
IndentationError: unexpected indent
>>>



-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Is it possible to use Django with an API as its back-end?

2010-06-07 Thread Douglas Graves
Hello fellow Django enthusiasts!  I'm a new Django user, and have been
experimenting with 1.2 for the last few weeks.  Thus far, I love it!
I love that it has thus far been so simple for me to learn, that the
documentation is actually readable and simply written, and that the
set up was sooo fast and painless.

As an interesting stroke of good fortune, it turns out that my
employer is currently evaluating new technology stacks as we plan the
complete rewrite of our current site.  The site does ~16m uniques a
month, and we are looking to break the big features of our site into
stand-alone apps that utilize our new homegrown API (rather than
interacting with a database directly).  I've been charged with
evaluating Django as a potential solution, but I'm having some trouble
tracking down information about the following two concerns:

1) Is it possible to run Django's models on our API, rather than
having its models interact with the database via the ORM (thus
replicating data as seen here: 
http://www.webmonkey.com/2010/02/Integrate_Web_APIs_into_Your_Django_Site)
2) What kind of performance should we expect (Django 1.2/Apache/MySQL
versus something like Zend Framework/Apache/MySQL)?

Any information, or nudges in the the right directions would be much
appreciated!

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Good idea to process form data in separate thread or process to avoid blocking? How?

2010-06-07 Thread Chris Seberino
I don't want Django site to block while form data is being processed.

What is easiest way to run a separate script in a separate thread or
process with form data as input parameters?

e.g. commands.getoutput("my_script arg1 arg2") or
   os.system("my_script arg1 arg2") <--- possible to run these in
separate thread or process easily so Django app doesn't have to wait
on it?  How?

Thanks!

Chris

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



introducing Lettuce, BDD tool for python with Django integration

2010-06-07 Thread Gabriel Falcão
There is not much to say, the documentation is at http://lettuce.it, and the
code is GNU/GPL3+ located at http://github.com/gabrielfalcao/lettuce

There is a blog post introducing it at
http://gabrielfalcao.com/2010/06/08/lettuce-0-1-official-release/

-- 
:wq

Atenciosamente
__
   Gabriel Falcão

Jabber: gabrielfal...@jabber-br.org
Blog: http://www.nacaolivre.org

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



error about django and mssql

2010-06-07 Thread CCC
hi,now I use django-mssql and sqlserver2008,
but I found that it always appear some errors when I do some
command,for example:python manage.py syncdb
the error likes coding error is blow:
raise OperationalError(e, "Error opening connection: " +
connection_string)
ngo.db.backends.sqlserver_ado.dbapi.OperationalError:
(com_error(-2147352567,
xb7\xa2\xc9\xfa\xd2\xe2\xcd\xe2\xa1\xa3', (0, u'Microsoft OLE DB
Provider for
L Server', u'[DBNETLIB][ConnectionOpen (Connect()).]SQL Server \u4e0d
\u5b58\u
8\u6216\u62d2\u7edd\u8bbf\u95ee\u3002', None, 0, -2147467259), None),
'Error
ning connection: PROVIDER=SQLOLEDB;DATA
SOURCE=115.238.106.100,60433;Network
rary=DBMSSOCN;Initial Catalog=rvdb_1;UID=sa;PWD=asd.1234')


When  I use Microsoft SQL Server Management studio client ,I can
success connect the database.
anyone can help ?Thanks

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Introducing ImageFlow for Django (Django-ImageFlow)

2010-06-07 Thread simon
Hi everyone,

ImageFlow is a platform-independent JavaScript picture gallery
inspired by the Cover Flow technique currently used in iTunes and the
file browser of OSX. The standard ImageFlow setup uses PHP to create
the optional reflections for images in the gallery. ImageFlow is free
for non-commercial use. You can read more on ImageFlow in its
documentation, or view examples of ImageFlow in use:
- http://finnrudolph.de/ImageFlow/Features
- http://finnrudolph.de/ImageFlow/Documentation
- http://finnrudolph.de/ImageFlow/Examples.

I've created a reusable Django app that utilises "reflection.py", a
script created by Justin Driscoll as part of the Django Photologue
project, to create the reflections. To read more on the app or to
download it, visit this blog post:
http://simonkagwe.com/blog/2010/06/06/introducing-django-imageflow/

I'd love to get your feedback on what you think about the app.

Regards,
Simon.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



CSRF verification failed (much information inside)

2010-06-07 Thread joelklabo
I am getting a 403 error. "CSRF verification failed". I went to the
documentation indicated on the error page and I have done everything
that it suggested. My view is basically just a copy of the example.
But I am still getting the error. I am trying to make a simple login
form, here is the template:



{% if user.is_authenticated %}
{{ user.username }}. Thanks for logging in.
{% else %}

{% csrf_token %}
User name:

Password:





{% endif %}



And here is the view:

def login(request):
c = {}
c.update(csrf(request))
if request.POST:
username = request.POST.get('username', '')
password = request.POST.get('password', '')
user = auth.authenticate(username=username, password=password)
if user is not None and user.is_active:
#Password is correct, user is marked "active"
auth.login(request, user)
#Redirect to a new page
return render_to_response('feed.html', c)
else:
#Show an error and redisplay login
return render_to_response('feed.html', c)
else:
return render_to_response('feed.html', c)

Other information:

The documentation I am referring to:
http://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ref-contrib-csrf
I am using this middleware in my settings:
'django.middleware.csrf.CsrfViewMiddleware',
This is included in my views.py: from django.core.context_processors
import csrf

Anyone see anything wrong? I really appreciate the help. Thank you in
advance.

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



setting DEBUG=False disables flatpages

2010-06-07 Thread adrian
Hello Guys,

on all my projects I have the problem that setting DEBUG=False in
settings.py disables flatpages (404 Pages are displayed).
This also applies to newly created projects. This happens with Django
version 1.2.1. Can someone confirm this with his deployments?

Additionally if running the "manage.py runserver" or as fcgi with
DEBUG=False the return codes are always 200 (even if the page
displayed is my 404 page). Is also in this case someone able to
confirm this?

I have found a ticket with number  "http://code.djangoproject.com/
ticket/13673" where the behavior is also mentioned - but it is still
unreviewed since more than a week.


Best Regards,

Adrian

-- 
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 this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.