Django on Jython 2.5 alpha3 unicode characters in templates problem

2009-01-08 Thread naos
Hi all, I'm recently playing with Django 1.0.2 on Jython 2.5 alpha3 build. Besides missing os.getcwdu function (which I got over by assigning os.getcwdu= os.getcwd at app init) I have problem with template rendering. When Jython string includes non-ASCII unicode characters (central europe specif

Re: Django on Jython 2.5 alpha3 unicode characters in templates problem

2009-01-08 Thread naos
I found it works on Jython 2.5 beta0 On 8 Sty, 12:38, naos wrote: > Hi all, > > I'm recently playing with Django 1.0.2 on Jython 2.5 alpha3 build. > Besides missing os.getcwdu function (which I got over by assigning > os.getcwdu= os.getcwd at app init) I have problem with

admin media and template override ignored after switch to 1.2rc

2010-05-17 Thread naos
Hi All, Today I tried to switch my project from 1.0.4 to 1.2rc version and I encountered problem with admin media definitions and template override. It simply doesn't work :) JS,CSS files are not included in the html and all template customizations are not present, looks like my custom templates

Re: admin media and template override ignored after switch to 1.2rc

2010-05-17 Thread naos
Well now I think that it might be related to virtualenv since I created new virtualenv with Django 1.1.1 and have the same result. On May 17, 12:44 pm, naos wrote: > Hi All, > > Today I tried to switch my project  from 1.0.4 to 1.2rc version and I > encountered problem with

IntegrityError: foreign key violation upon delete

2010-03-30 Thread naos
Hi all, I have problem with foreign key contraint upon calling delete() on my model. Here's my problem: I have Order and Shipment model. Shipment has a foreign key to Order. class Order(...): ... class Shipment() order = m.ForeignKey('Order') ... Now in one of my views I want do delete

Re: IntegrityError: foreign key violation upon delete

2010-03-30 Thread naos
Problem has been solved and it doesn't have connection to any bugs, it was just programming error (there was shipment.save() somewhere later in python code) On Mar 30, 10:21 am, naos wrote: > Hi all, > > I have problem with foreign key contraint upon calling delete() on my >