On Mon, 2007-05-14 at 00:52 +, orestis wrote:
> Hello,
>
> I'm having a weird python error, and I can't seem to find out what's
> wrong.
>
> I wanted to extend the site framework, so I can use it for
> multilingual content. The way to do this is to override the SITE_ID
> with a function:
>
visit me for help
www.geocities.com/mheatherill
--~--~-~--~~~---~--~~
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
I'm stumped by this issue I'm having with the nesh thumbnail
utilities. I have PIL installed and I've gotten nesh utils working...
except it never saves the thumbnails it's supposed to create (I'm
primarily using the template filter, but I've also tried the
ImageWithThumbnailField). It doesn't ret
I'm in a situation where I have a List model class and a ListItem
model class. The ListItem class has a ForeignKey to the List class
with `edit_inline=models.STACKED, num_in_admin=10`. In the admin
interface for adding a new List, this is represented perfectly: it
shows the fields for the List obj
Hi,
Im currently at a loss about how to fix this issue.
I have tried the modpython.patch in #1796.
What is weird is that the doesn't consistently appear - it is
intermittent. When I refresh the page it sometimes appears as it
should, and other times with the error. I'm running the latest Dja
I produced the example (2 field, 2 models, 2 records!)
I opened ticket http://code.djangoproject.com/ticket/4288
but now I cannot add files due to InternalError of the trac system!
So I put it here: http://www.e-den.it/misc/fixture_failing.tgz
Anyhow my understanding is that is all due to the Fo
OK, after digging around the django source, it seems that the database
cursors, where the SITE_ID is read runs at a different thread. I also
looked into the translation framework, it uses "currentThread" to
fetch the current active translation. So what should I do ? This is
tricky stuff...
On May
Hello,
I'm having a weird python error, and I can't seem to find out what's
wrong.
I wanted to extend the site framework, so I can use it for
multilingual content. The way to do this is to override the SITE_ID
with a function:
import threadlocals
def SITE_ID():
lang = threadlocals.get_current
On 13-May-07, at 11:40 PM, kilgore wrote:
> at 0x014CE2D0>>
i bet you wrote Poll.objects.all instead of Poll.objects.all()
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because yo
LOL
Thanks Flavio
> Flavio.
--~--~-~--~~~---~--~~
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 email to [
Hi all,
Here's a note to let you know that there is now an XML-RPC server app
for Django publicly available under an open-source license.
django_xmlrpc allows you to expose any function through XML-RPC. I'm
currently working on adding introspection and useful things like
system.multicall functio
Hi Jan,
On May 13, 9:38 pm, Jan Söderback <[EMAIL PROTECTED]> wrote:
> Any ideas about what might be missing?
it is a bug in Django admin interface -- the edit view assumes that
the model has at least one editable field. You can either use Jure's
workaround or patch your copy of Django. See th
On May 13, 10:57 pm, "Jure Čuhalev" <[EMAIL PROTECTED]> wrote:
> I was hit by the same problem. If you add a property to your class
> Play (not to the Translation one) then Translation will be able to
> bound to something visible in Admin and it will work.
That worked. Thank you very much!
--~-
Hi,
I was hit by the same problem. If you add a property to your class
Play (not to the Translation one) then Translation will be able to
bound to something visible in Admin and it will work.
It's more of a workaround then real solution, but if you are in a
hurry it could be useful.
regards,
Ju
I have gotten it to work finally. In my code above
newform['data_file'] actually outputs html code, not a dictionary.
That was the reason why it was "unsubscriptable".
So instead of saying newform['data_file']['filename'], I requested
form_data['data_file']['filename']. But then django complain
Hello,
I'm trying to use Marcin Kaszynski's django-multilingual plugin, but
when I try to use the add action in the admin interface for a
translatable class, I get an exception:
-
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py"
On 13 Mag, 20:10, kilgore <[EMAIL PROTECTED]> wrote:
> I tried this and got:
>
> 13/05/2007> python manage.py shell
> Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
> (Intel)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveCon
Hi,
I have installed everything I need to get Django working on my Windows
XP box with Apache and MySQL. Everything seemed to be going well until
I tried the instructions in tutorial01.txt.
At the point where it says:
Once you're in the shell, explore the database API::
# Import the model
On 5/13/07, elemental <[EMAIL PROTECTED]> wrote:
> UnicodeDecodeError at /register/
> 'ascii' codec can't decode byte 0xb4 in position 0: ordinal not in
> range(128)
>
> For reference, here is the save portion of the model:
>
> def save(self):
> key = ezPyCrypto.key(512)
> self.pas
> I didn't try posting the forum but I did visit the web site and click
> on a couple of tags in the cloud. Got a list of posts, no error message.
>
> hth,
>
> - Mark
Just before bed, I worked out the problem...
I had left some print statements in my view. Although it worked in
development, o
I got this one solved with an answer from another thread. Thanks anyways for
reading me.
--~--~-~--~~~---~--~~
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@google
On May 12, 2007, at 9:57 PM, Malcolm Tredinnick wrote:
> This could be as simple as a mismatch between documentation and code
> version.
Thank you, Malcom. I downloaded the current version, 0.96, and
installed it.
When I call the django.fcgi using "http://localhost/cgi-bin/
django.fcgi", I
Hi Malcom,
Thanks for summarizing things so succinctly. ezPyCrypto (http://
www.freenet.org.nz/ezPyCrypto/) is a wrapper built on top of PyCrypto.
After reviewing the documentation, I couldn't find anything explicitly
stating that the encryption string is unicode, so I can only assume
that it is
Thanks for your suggestion, but the problem was in the generated link
for the pagination: they pointed to '?page=X/' instead of '?page=X'. I
removed the ending slash and everything now works fine!
--~--~-~--~~~---~--~~
You received this message because you are su
On Sun, 2007-05-13 at 11:15 +, elemental wrote:
> I have a small app that needs to store a passport number in a database
> (MySQL). I'd like to encrypt the passport for security, so I'm using
> ezPyCrypto. I've never had to encrypt data before so I'm a bit new at
> this. However, I've worked t
I have to run the following SQL query:
query = """SELECT offers_offer.id FROM offers_offer \
WHERE offers_offer.category_id IN %s \
AND offers_offer.from_date <= %s \
AND offers_offer.to_date >= %s \
ORDER BY (original_price-discounted_p
I have a small app that needs to store a passport number in a database
(MySQL). I'd like to encrypt the passport for security, so I'm using
ezPyCrypto. I've never had to encrypt data before so I'm a bit new at
this. However, I've worked through a shell and successfully encrypted
and decrypted a st
typo,
TEMPLATE_STRING_IF_INVALID = ExceptionRaiser()
--
Amit Upadhyay
--~--~-~--~~~---~--~~
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 uns
On May 11, 5:09 pm, Bram - Smartelectronix <[EMAIL PROTECTED]>
wrote:
> I completely agree - for a live site, but not for development!
>
> But this could be easily solved by:
> THROW_EXCEPTION_WHEN_TEMPLATE_STRING_INVALID
> default to False
You can always do:
class ExceptionRaiser:
def __str
On Sun, May 13, 2007 at 12:18:22AM -0700, samira wrote:
> I don't congifured it, how I can do this?
> the error message is this"Not Found
> The requested document was not found on this server."
Are you using the apache web server?
http://www.djangoproject.com/documentation/modpython/ may be helpf
That worked, -and- I learned something too!
Thank you for the advice. :D
Cheers,
Bryan
--~--~-~--~~~---~--~~
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@googleg
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
On May 13, 10:14 am, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> Hello samira,
>
> On Sun, May 13, 2007 at 12:03:13AM -0700, samira wrote:
> > I want to use Adj
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
I don't congifured it, how I can do this?
the error message is this"Not Found
The requested document was not found on this server."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
Hello samira,
On Sun, May 13, 2007 at 12:03:13AM -0700, samira wrote:
> I want to use Adjango administrator. that is correct in my local, I
> access to it throw this address: http://127.0.0.1:8000/admin/. but I
> don't know how I can accees in my domain?
Which web server are you using? Have you
Hello All,
I want to use Adjango administrator. that is correct in my local, I
access to it throw this address: http://127.0.0.1:8000/admin/. but I
don't know how I can accees in my domain? I put my domain Ip instead
od localhost Ip, but it is not work :( could anybody help me?
--~--~-~-
37 matches
Mail list logo