Re: ORM, Oracle and UTF-8 encoding problem.

2013-01-09 Thread Ian Kelly
On Wed, Jan 9, 2013 at 11:40 PM, Jani Tiainen wrote: > If we just force using force_unicode everything works except in older > versions of cx_Oracle (our server had 5.0.4 or something) connection strings > can't be unicode for some reason. Sure, that's why the check exists in the first place. Pr

Re: ORM, Oracle and UTF-8 encoding problem.

2013-01-09 Thread Jani Tiainen
9.1.2013 19:21, Ian Kelly kirjoitti: On Wed, Jan 9, 2013 at 3:55 AM, Jani Tiainen wrote: Server is running Oracle Database 10g Release 10.2.0.5.0 - 64bit Production. (EE edition) and charset info: NLS_CHARACTERSETWE8ISO8859P1 NLS_NCHAR_CHARACTERSET AL16UTF16 Sorry, I meant your web

[X-POST] Fwd: [Ilugc] SQL Injection vulnerability in Ruby on Rails forces websites to close down

2013-01-09 Thread Venkatraman S
FYI: -- Forwarded message -- From: Natarajan V Date: Thu, Jan 10, 2013 at 10:49 AM Subject: [Ilugc] SQL Injection vulnerability in Ruby on Rails forces websites to close down To: ILUG-C Hi, A major security vulnerability found in RoR has forced a government website to close do

Re: show an image in django

2013-01-09 Thread jianhui chen
My setting.py is: # Initialize App Engine and import the default settings (DB backend, etc.). # If you want to use a different backend you have to remove all occurences # of "djangoappengine" from this file. from djangoappengine.settings_base import * import os # Activate django-dbindexer for the

I'm looking for a Medium Level Django Job

2013-01-09 Thread Luciano Ferrari
Hello everyone, this is my first post in the group, i've more than one and a half year of experience using django. I've made several projects using django framework, the last project i made was a CMS with public Web Page to Real Estate Company in my Country(Uruguay), all the core of the sys

Re: URL_VALIDATOR_USER_AGENT

2013-01-09 Thread m
Hello, > According to : > > https://docs.djangoproject.com/en/dev/ref/settings/ > > URL_VALIDATOR_USER_AGENT > > is deprecated in 1.5. But it's actually been removed. Is that worth a > bug report? > > I just stumbled across this myself, django-oscar (a reasonably big ecommerce app http://o

Re: Admin and ForeignKey

2013-01-09 Thread Kristofer
Update: I wanted to post the resolution to this in case anyone in the future finds this post and can't find an answer (like the many I found). In my battle with this, I was able to accomplish this using django-smart-selects. https://github.com/digi604/django-smart-selects - Original Me

Re: ORM, Oracle and UTF-8 encoding problem.

2013-01-09 Thread Ian Kelly
On Wed, Jan 9, 2013 at 3:55 AM, Jani Tiainen wrote: > Server is running Oracle Database 10g Release 10.2.0.5.0 - 64bit Production. > (EE edition) > > and charset info: > NLS_CHARACTERSETWE8ISO8859P1 > NLS_NCHAR_CHARACTERSET AL16UTF16 Sorry, I meant your web server setup. -- You receive

RE: Looking for a Senior Python Django Developer for Berlin

2013-01-09 Thread Charlotte Phillips
Berlin, Germany Mit freundlichen Grüssen / With best regards, Charlotte Phillips Consultant - Germany Permanent Division Darwin Recruitment O:   00 44 (0) 1277 638 942 F:    00 44 (0) 1277 636 244 E:   charlotte.phill...@darwinrecruitment.com   W: www.darwinrecruitment.com UK Darwin Rec

Re: Looking for a Senior Python Django Developer for Berlin

2013-01-09 Thread Larry Martell
Berlin, New York? On Wed, Jan 9, 2013 at 9:26 AM, wrote: > My client is a start-up located in the start-up hub of Berlin. The modern > offices are within the heart of the city centre. The team environment is > friendly, relaxed and working there has a real start-up feel. > > They are looking for

Looking for a Senior Python Django Developer for Berlin

2013-01-09 Thread charlotte . phillips
My client is a start-up located in the start-up hub of Berlin. The modern offices are within the heart of the city centre. The team environment is friendly, relaxed and working there has a real start-up feel. They are looking for someone who is creative and motivated. Someone who can imagine a

Re: How to get self.id when saving a new object?

2013-01-09 Thread Sergiy Khohlov
I spend some time for this one and propose next solution : At first your model has only one image. in this case you dont need to add url() method . Now model is looks like from django.db import models from mptt.models import MPTTModel, TreeForeignKey # Create your models here. class BicycleAd

Re: Looking for a Senior Django Application Developer

2013-01-09 Thread Sergiy Khohlov
Please add comment that this position for US citizen only. Looks like this position is not World Wide Many thanks, Serge 2013/1/9 Andy : > All, > > Sorry to bug the group with an open position - but thought it was worth a > try. > > I am looking for a senior Django application developer for

Looking for a Senior Django Application Developer

2013-01-09 Thread Andy
All, Sorry to bug the group with an open position - but thought it was worth a try. I am looking for a senior Django application developer for a year long contract in DC at a major media company. I've posted the complete job requisition below, but what we really need is a super solid senior p

Re: How to get self.id when saving a new object?

2013-01-09 Thread Sergiy Khohlov
I have no idea why you decided to investigate a bicycle... Please separate task in two simple : 1) for editing object use url ///edit 2) for creating new object //new Take a look at generic view. Many thanks, Serge +380 636150445 skype: skhohlov 2013/1/9 Tom Evans : > On Wed, Jan 9,

pip search raises "time out"

2013-01-09 Thread Matias Montenegro
I need a hand with this problem. I get a "time out" exception when i run "pip search", but "pip install" works fine. I'm using a proxy and I can't deactivate it. Does anybody know why it might be happening? http://pastebin.com/2z7SPqf2 -- You received this message because you are subscribed t

Re: How to get self.id when saving a new object?

2013-01-09 Thread Tom Evans
On Wed, Jan 9, 2013 at 12:55 PM, Andre Lopes wrote: > Hi, > > I'm without a clue on how to get the sef.id when creating a new object > in Django. I've created a question in StackOverflow. Can someone give > me a clue on this subject? > > Please read the question: > http://stackoverflow.com/questio

How to get self.id when saving a new object?

2013-01-09 Thread Andre Lopes
Hi, I'm without a clue on how to get the sef.id when creating a new object in Django. I've created a question in StackOverflow. Can someone give me a clue on this subject? Please read the question: http://stackoverflow.com/questions/14234917/django-how-to-get-self-id-when-saving-a-new-object Any

Re: virtualenv setup

2013-01-09 Thread Tom Evans
On Sat, Dec 29, 2012 at 10:01 PM, Phil wrote: > Is it because at the top of my "manage.py" it is pointing to my system wide > python(#!/usr/bin/env python) instead of my virtualenv one? If so how do I > fix this? I tried changing the path at the top of the manage.py file but > didn't seem to do an

Re: ORM, Oracle and UTF-8 encoding problem.

2013-01-09 Thread Jani Tiainen
9.1.2013 12:28, Ian kirjoitti: On Wednesday, January 9, 2013 12:38:28 AM UTC-7, Jani Tiainen wrote: Tested against latest master. Same behaviour. In Oracle backend base.py is following piece of code: # Check whether cx_Oracle was compiled with the WITH_UNICODE option. This will

Re: Settings in Pythoncode

2013-01-09 Thread Stefano Probst
The answer: I compare my variable with the other setting-variables. All other variables are uppercases (-> constant). When I write my variable big, it works. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web vis

Re: ORM, Oracle and UTF-8 encoding problem.

2013-01-09 Thread Ian
On Wednesday, January 9, 2013 12:38:28 AM UTC-7, Jani Tiainen wrote: > > Tested against latest master. Same behaviour. > > In Oracle backend base.py is following piece of code: > > # Check whether cx_Oracle was compiled with the WITH_UNICODE option. > This will > # also be True in Python 3.0.

Re: Settings in Pythoncode

2013-01-09 Thread Daniel Roseman
On Wednesday, 9 January 2013 10:13:27 UTC, Stefano Probst wrote: > Hi! > I want to access variables in my code like in the > docs. > > I have a code like the following in settings.py: > >> codec_baseString = "

Settings in Pythoncode

2013-01-09 Thread Stefano Probst
Hi! I want to access variables in my code like in the docs. I have a code like the following in settings.py: > codec_baseString = "...XYZ:::" > In a other file (common.py): > from django.conf import settings

Re: HTML Source on Browser Rendering

2013-01-09 Thread Ryoichiro Kamiya
It's been resolved. The following mimetype property in views.py added the tags. return render_to_response('prayer/service_index.html', datadict, mimetype="application/json; charset=utf-8") Thanks, Ryo On Wednesday, January 9, 2013 11:07:14 AM UTC+9, Ryoichiro Kamiya wrote: > > Thanks all for

Re: ORM, Oracle and UTF-8 encoding problem.

2013-01-09 Thread Jani Tiainen
Ok, found source of the problem - but I don't know the solution. I'm using Oracle client 10.2.0.3.0. It seems that unicode doesn't work there. I compiled cx_Oracle against 11g instantclient 11.2 and it worked just fine. So it must be something that Django assumes with Oracle and unicode capa