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

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

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

2013-01-09 Thread Jani Tiainen
cle and unicode capability. I had cx_Oracle.UNICODE defined always which is checked in the code. I don't really know why. 9.1.2013 8:56, Jani Tiainen kirjoitti: 8.1.2013 21:00, akaariai kirjoitti: I created the following test case into django's test suite modeltests/ basic/tests.py:

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

2013-01-08 Thread Jani Tiainen
_bytes. If I remove that and use convert_unicode as force_text / force_unicode everything works as expected. 9.1.2013 8:56, Jani Tiainen kirjoitti: 8.1.2013 21:00, akaariai kirjoitti: I created the following test case into django's test suite modeltests/ basic/tests.py: def test_un

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

2013-01-08 Thread Jani Tiainen
I'll try to figure out what causes that problem. On 8 tammi, 17:34, Jani Tiainen wrote: Hi, I've been trying to save UTF-8 characters to oracle database without success. I've verified that database is indeed UTF-8 capable. I can insert UTF-8 characters directly using cx_Or

ORM, Oracle and UTF-8 encoding problem.

2013-01-08 Thread Jani Tiainen
. Additional note: If I use cursor() from Django connection object strings get broken also. So it must be django Oracle backend doing something evil for me. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are s

Re: Using django's oodb alone

2013-01-03 Thread Jani Tiainen
se it like any other Python library, just provide configuration and you're good to go. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: Serving static files: Tried 3 ways with no luck

2012-12-27 Thread Jani Tiainen
meant for user uploaded content. STATIC_URL then gives root URL where static files are served. In testing /static/ is good one, in production you might want to do some optimizations there. Now you should be able to get it working. -- Jani Tiainen - Well planned is half done and a half don

Re: Unique Id issue

2012-12-12 Thread Jani Tiainen
the database(s). -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe

Re: Django Troubleshooting

2012-10-22 Thread Jani Tiainen
ualenv I wrote short tutorial as well: http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/ -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django user

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Jani Tiainen
reate your own custom field and use just a NUMBER datatype. See https://docs.djangoproject.com/en/1.4/howto/custom-model-fields/ for more information. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscri

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Jani Tiainen
and I had full control over how to map database to Django ORM. Though ordering problem still was persstent but at least I got models more or less right from the very beginning. [1] http://sourceforge.net/projects/mygeneration/ -- Jani Tiainen - Well planned is half done and a half do

Re: Trouble with VirtualEnv on Windows

2012-10-15 Thread Jani Tiainen
users" group. To post to this group, send email to django-users@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. -- Jani Tiainen - Well planne

Re: Trouble with VirtualEnv on Windows

2012-10-14 Thread Jani Tiainen
ngo users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/YuSLHUyt6xIJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options,

Re: reverse funtion returns fully qualified names

2012-10-03 Thread Jani Tiainen
Replying to myself. It was oldish version of django-rest-framework that did mangled prefix. With latest version (0.4.0 in my case) it's fixed. On Wed, Oct 3, 2012 at 10:29 AM, Jani Tiainen wrote: > Hi, > > since we tried to upgrade our systems to work with 1.4 something ver

reverse funtion returns fully qualified names

2012-10-03 Thread Jani Tiainen
ified URLs with domain names. Is there some middleware or setting that affects in a behaviour we now experience? -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django u

Re: Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
Then it's probably Oracle, which is riddled with bugs on the spatial part. I'm using PostGIS. On Tue, Oct 2, 2012 at 8:38 AM, Jani Tiainen mailto:rede...@gmail.com> <mailto:rede...@gmail.com <mailto:rede...@gmail.com>>&

Re: Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
I guess all this is related to special munging required by Oracle: https://code.djangoproject.com/ticket/10888 2.10.2012 15:12, George Silva kirjoitti: Then it's probably Oracle, which is riddled with bugs on the spatial part. I'm using PostGIS. On Tue, Oct 2, 2012 at 8:38 AM, Ja

Re: Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
2.10.2012 14:34, Jani Tiainen kirjoitti: 2.10.2012 14:06, George Silva kirjoitti: This is puzzling. I'm on 1.4.1 and I have models with two geometric columns, without a hitch. The only interesting thing I can see is that you are using SRID = settings.4326 on extent. Is that correct?

Re: Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
different depending on customer (and picked from settings file). I just tried qicly replace it by more common WGS84... Maybe it's Oracle spesific or are you using Oracle as well? On Tue, Oct 2, 2012 at 7:52 AM, Jani Tiainen mailto:rede...@gmail.com>> wrote: Hi, I've se

Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
olumn) AttributeError: 'InsertQuery' object has no attribute 'columns' Error is consistent and happens when there is two or more geometry fields on a single model. Same code worked on 1.3 flawlessly. -- Jani Tiainen - Well planned is half done and a half done has been suff

Re: A lots of foreign keys - Django Admin

2012-09-26 Thread Jani Tiainen
s then it runs in 0.01ms Screenshot: http://cl.ly/image/3w3D3g0h3h1A Also I wonder does admin run one query for each FK per row.. [snipsnip] -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed

Re: A lots of foreign keys - Django Admin

2012-09-25 Thread Jani Tiainen
uesday, 25 September 2012 02:01:17 UTC-4, Jani Tiainen wrote: Actually problem exists in your model. Unless this is legacy database that you can't do anything about. Major performance killer is done by defining all your foreign key fields to be _strings_. Yes. "field_to&

Re: GeoDjango and shapefiles

2012-09-25 Thread Jani Tiainen
packages can create shapefiles from database if needed. Don't know how symbology works there. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users"

Re: A lots of foreign keys - Django Admin

2012-09-24 Thread Jani Tiainen
scribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/C_zR-hp12oUJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@go

Re: Getting Started

2012-09-24 Thread Jani Tiainen
group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/fkNOGLcwvpQJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com.

Re: template rendering progress

2012-09-20 Thread Jani Tiainen
n offer this kind of features since it's property of HTTP protocol and how request/response cycle goes. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django u

Re: GeoDjango and shapefiles

2012-09-20 Thread Jani Tiainen
;s hard to give more details. For example generating maps with shapefiles there is far better solutions than GeoDjango (GeoDjango is great for querying spatially and modifying data) like Mapnik or Mapserver on serverside. On client side there is practically only one really working solution - Op

Re: how to use java script alert in view? i use form submit on post method. After sucessfull opreation in view i want alert

2012-09-16 Thread Jani Tiainen
ill cause a pain after a while. Also what would you show in case of unsuccessful operation? An alert as well? -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django

Re: Conditions in template slows down the software

2012-09-14 Thread Jani Tiainen
process your data in a view to be suitable for rendering rather than using template to do data processing. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django

Re: tastypie - some feedback / comments

2012-09-13 Thread Jani Tiainen
d to any models, querysets or whatsoever django-rest-framework just works with them as well. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Can i be able to plot a points on maps with geodjango? i figured i can plot polygons on a map but struggling to plot points is it possible? if it is how do i do it or help with a link to informati

2012-09-13 Thread Jani Tiainen
t's javascript library to work with (interactive) maps on a webpage. Now you should have all pieces that allows you to put together stuff that can show your points from a database. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You re

Re: Can i be able to plot a points on maps with geodjango? i figured i can plot polygons on a map but struggling to plot points is it possible? if it is how do i do it or help with a link to informati

2012-09-13 Thread Jani Tiainen
nd email to django-users@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 are you trying to plot your points? Have you tried to manually insert at

Re: Can i be able to plot a points on maps with geodjango? i figured i can plot polygons on a map but struggling to plot points is it possible? if it is how do i do it or help with a link to informati

2012-09-13 Thread Jani Tiainen
searching and cant find much infor about it. You can. If i can atleast plot a point like points on the map below, that would be great HoustonCrimeMaps How have you tried to do that exactly? -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You

Re: Model Validation with Exception Handling

2012-09-13 Thread Jani Tiainen
nsubscr...@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-users@googlegroup

Re: Iphone applications via django

2012-09-12 Thread Jani Tiainen
thx. On Wednesday, 12 September 2012 13:25:07 UTC+3, Jani Tiainen wrote: I'm using Sencha Touch to build mobile interface to Django application. (basically Django serves just REST API, UI is pure JS/HTML5 stuff). Nice thing is that there exists build process to use phonegap with

Re: Iphone applications via django

2012-09-12 Thread Jani Tiainen
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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. --

Re: Override save or other options?

2012-09-10 Thread Jani Tiainen
ion of single event by creating overriding events concept. This way amount of data will be kept relatively small, it's much easier to read and modify. Of course drawback is that you need top level mechanisms to work with single calendar entries that map to your database representation. -- J

Re: Static files not loading when debug is false

2012-09-10 Thread Jani Tiainen
/#runserver HTH. On Mon, Sep 10, 2012 at 3:57 PM, Karambir Singh Nain wrote: > Yeah. during, debug=true, it is serving fine from static_root. But not > when debug is false. > > > On Monday, September 10, 2012 2:01:03 AM UTC+5:30, Jani Tiainen wrote: > >> I suppose that yo

Re: Can't Find libclntsh.so.11.1 With Oracle Backend

2012-09-10 Thread Jani Tiainen
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. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received th

Re: Static files not loading when debug is false

2012-09-09 Thread Jani Tiainen
jango-admin-option---insecure On Sun, Sep 9, 2012 at 11:30 PM, Jani Tiainen wrote: > I suppose that your frontend webserver is serving files from url /static/ > from path that STATIC_ROOT points to? > > > On Sun, Sep 9, 2012 at 10:23 PM, Karambir Singh Nain > wrote: >

Re: Static files not loading when debug is false

2012-09-09 Thread Jani Tiainen
s group, send email to django-users@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. > -- Jani Tiainen - Well planned is half done

Re: Django - change select items display

2012-08-27 Thread Jani Tiainen
options, visit this group at http://groups.google.com/group/django-users?hl=en. You can change it by creating custom field and overriding label_from_instance method. It's documented just below https://docs.djangoproject.com/en/1.3//ref/forms/fields/#django.forms.ModelChoiceField.empty_labe

Re: Dependent Ajax Form Fields

2012-08-26 Thread Jani Tiainen
. I suggest that you keep validation to happen on form submit rather than when updating two field values. Just find out what is the best way to do that with your JS framework. Try googling "dependent selectboxes should get you going. By adding keyword Django might give even more help. --

Re: What is the easy way to install DJango?

2012-08-23 Thread Jani Tiainen
cially PNG support is a tricky one. Also for few build scripts there seem to be problem of passing different compiler than msvc for windows. So everything is not simple. These parts are way simpler in *nix like environments - except in RHEL... -- Jani Tiainen - Well planned is half done a

Re: to_field can not use primary key of related object.

2012-08-23 Thread Jani Tiainen
or a particular form field if needed. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- 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.c

Re: What is the easy way to install DJango?

2012-08-22 Thread Jani Tiainen
ing setting up all kind of stuff is just a breeze. http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/ I also know that there exists virtualenv-wrapper scripts for windows cmd/powershell but never got them working in my environment and I've been too lazy to try to fix

Re: problems in installing django on windows 7

2012-08-20 Thread Jani Tiainen
hanks & Regards Amyth [Admin - Techstricks] Email - aroras.offic...@gmail.com, ad...@techstricks.com Twitter - @a_myth_ http://techstricks.com/ -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You receive

Re: Adding Button in admin form

2012-08-17 Thread Jani Tiainen
e possible with custom field though I think it might work better out with totally custom form that looks like admin page where it's very easy to add more control than standard admin does. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You r

Re: access the state of a Model object prior to it's modification ?

2012-07-16 Thread Jani Tiainen
clear the date self.publication_date = None super(self, MyPublicationModel).save(...) On Mon, Jul 16, 2012 at 3:39 AM, Nicolas Emiliani wrote: > > > On Sun, Jul 15, 2012 at 8:10 PM, Jani Tiainen wrote: > >> Hi, >> >> How about telling us what are

Re: Query Distance from User

2012-07-15 Thread Jani Tiainen
ot;Django users" group. >>>>> To view this discussion on the web visit https://groups.google.com/d/* >>>>> *msg/django-users/-/_**ERIIZrolmUJ<https://groups.google.com/d/msg/django-users/-/_ERIIZrolmUJ> >>>>> . >>>>> To post to th

Re: access the state of a Model object prior to it's modification ?

2012-07-15 Thread Jani Tiainen
ien feo. > > -- > 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 > django-users+unsubscr...@googlegrou

Re: Catch or raise exception designissue

2012-07-15 Thread Jani Tiainen
uot; (Section 10.4), and 5xx which means "server error" (Section 10.5) But I think all of that is matter of taste... On Sun, Jul 15, 2012 at 12:23 AM, Melvyn Sopacua wrote: > [reformatted] > > On 11-7-2012 20:41, Jani Tiainen wrote: > > On Wed, Jul 11, 2012 at 4:47 PM, Andre S

Re: Form 'POST' to a database

2012-07-13 Thread Jani Tiainen
s discussion on the web visit > https://groups.google.com/d/msg/django-users/-/JTdViX4I6HEJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visi

Re: Form 'POST' to a database

2012-07-11 Thread Jani Tiainen
r AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.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-users@googlegroups.com. > To unsub

Re: Catch or raise exception designissue

2012-07-11 Thread Jani Tiainen
ot;Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/bQyS-29Lb4QJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegr

Re: model sends two requests

2012-07-11 Thread Jani Tiainen
gt; >> >> >> > Sorry my english Thanks! >> -- >> Wulfraed Dennis Lee Bieber AF6VN >> wlfr...@ix.netcom.com >> HTTP://wlfraed.home.netcom.**com/ >> >> -- > You received this message because you

Re: Different authentication package

2012-07-10 Thread Jani Tiainen
Maybe you should more clearly specify your needs. On Tue, Jul 10, 2012 at 1:33 AM, Melvyn Sopacua wrote: > On 9-7-2012 20:41, Jani Tiainen wrote: > > Are you asking how to write custom authentication backend that can suit > > your needs? > > No, that would be my backup

Re: Different authentication package

2012-07-09 Thread Jani Tiainen
jango-users@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. > > -- Jani Tiainen - Well planned is half done, and a half done has been su

Re: view didn't return an HttpResponse object....plz help

2012-07-06 Thread Jani Tiainen
_valid() is false. In short form: def studentid(request): if request.method == 'POST' form = Student_loginForm(request.POST) if form.is_valid(): return HttpResponseRedirect(...) else: form = Student_loginForm() return render_to_response(&

Re: view didn't return an HttpResponse object....plz help

2012-07-06 Thread Jani Tiainen
correct the error{{ form.errors|pluralize }} below. {% endif %} STUDENT RECORD SYSTEM {% csrf_token %} Student Roll no: On Fri, Jul 6, 2012 at 2:49 PM, Jani Tiainen mailto:rede...@gmail.com>> wrote: Print out form.errors it will contain di

Re: view didn't return an HttpResponse object....plz help

2012-07-06 Thread Jani Tiainen
up/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-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more

Re: Query with GeoDjango

2012-07-01 Thread Jani Tiainen
-users@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. > -- Jani Tiainen - Well planned is half done, and a half done has be

Re: javascript in django template not executed when request is sent via ajax

2012-06-29 Thread Jani Tiainen
I meant that if for some reason Django sends incorrect content type from a view or something like that your javascript framework might guess incorrectly your ajax request content type and not parse script tags. On Sat, Jun 30, 2012 at 1:51 AM, Jani Tiainen wrote: > It's known limitation

Re: javascript in django template not executed when request is sent via ajax

2012-06-29 Thread Jani Tiainen
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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this

Re: interpretting urls

2012-06-28 Thread Jani Tiainen
Hi, Quote from URL dispatcher documentation: "To design URLs for an app, you create a Python module informally called a URLconf (URL configuration). This module is pure Python code and is a simple mapping between URL patterns (as simple regular expressions) to Python callback functions (your v

Re: Render time

2012-06-26 Thread Jani Tiainen
ribe 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. > > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You receiv

Re: setting up django with virtualenv on windows7

2012-06-25 Thread Jani Tiainen
hon from c:\python27\ directory and not ones within virtualenv. See more in my blog entry how I and my team has done it: http://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/ -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You rec

Re: base_url() in django

2012-06-25 Thread Jani Tiainen
this group, send email to django-users@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. > -- Jani Tiainen - Well planned i

Re: cad application

2012-06-21 Thread Jani Tiainen
t;cad application" and what's your goal. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: Error creating project from the Command Prompt

2012-06-07 Thread Jani Tiainen
/2012/04/16/django-and-windows/ -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To

Re: Oracle schema not working

2012-06-04 Thread Jani Tiainen
ct * from SoMeTaBle becomes to select * from "SOMETABLE". If you provide quotes Oracle uses table name as is and thus making it case-sensitive. In theory Django should make all names uppercase regradless how you write it. I recall someone to complain strange behavior in cases with Ora

The Prettiest Pink Pony in Town

2012-06-01 Thread Jani Tiainen
Hi, Since summer seems to arrived (I just saw young elk running at the back yard of our office). I decided to type in magical words "pink pony" in youtube search. Here is what I found. Enjoy! http://www.youtube.com/watch?v=vY14EGd71FY -- Jani Tiainen - Well planned is half

Re: Oracle schema not working

2012-06-01 Thread Jani Tiainen
lic) synonyms for tables for user in question. Otherwise you need to prefix with schema name. See also ticket https://code.djangoproject.com/ticket/6148 -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed

Re: App inside another app or nesting in django apps

2012-05-31 Thread Jani Tiainen
1.6.2012 9:16, Derek kirjoitti: And the Zen of Python? "Flat is better than nested" But don't forget, again Zen of Python: "Namespaces are one honking great idea -- let's do more of those!" On Jun 1, 8:10 am, Jani Tiainen wrote: 31.5.2012 19:22, Ku

Re: App inside another app or nesting in django apps

2012-05-31 Thread Jani Tiainen
e unique and as known app name is last part of module hierarchy. So you can't have two conflicting apps: myapp.subapp <-- appname is subapp myotherapp.subapp <-- appname is subapp -- Jani Tiainen - Well planned is half done and a half done has been sufficient befor

Re: How to generate secure passwords

2012-05-30 Thread Jani Tiainen
ed content combination already expired. If that's the case, no access is granted to protected content. Then password wouldn't contain any information about it's validity. Only validity checks happens on your side of system - in your code, on your server. -- Jani Tiainen - Well p

Re: Use Django to implement my GUI!

2012-05-18 Thread Jani Tiainen
> django-users+unsubscr...@googlegroups.com. >> >>> For more options, visit this group at >> >>> http://groups.google.com/group/django-users?hl=en. >> >>> >> >>> >> >>> >> >>

Re: Use Django to implement my GUI!

2012-05-16 Thread Jani Tiainen
try to advise me the best way for serving file using python-Django (apache, unicorn, ..)? Thanks again. 2012/5/15 Jani Tiainen mailto:rede...@gmail.com>> Hi, Now it starts to make "sense". I just wonder why are you trying to build something so extremely complic

Re: Use Django to implement my GUI!

2012-05-14 Thread Jani Tiainen
b server, as it will not be used in production for the application deployment. Hope now it's clear for you, and more for the other users. Thanks! 2012/5/13 Jani Tiainen mailto:rede...@gmail.com>> Hi, There is several ways to achieve what you maybe want to do. One of th

Re: Deferred fields problem.

2012-05-14 Thread Jani Tiainen
I'm still on 1.3.1 but planning to upgrade to 1.4 quite soon. On Mon, May 14, 2012 at 3:50 PM, akaariai wrote: > On May 14, 3:29 pm, Jani Tiainen wrote: > > 14.5.2012 14:50, akaariai kirjoitti: > > > > > > > > > > > > > > > > > &

Re: Deferred fields problem.

2012-05-14 Thread Jani Tiainen
14.5.2012 14:50, akaariai kirjoitti: On May 14, 2:37 pm, Jani Tiainen wrote: Hi, I have in my database quite a bunch of a models where I do have quite large fields and I'm using .only('pk', 'identifier') to fetch only those two fields - mainly to make serversid

Deferred fields problem.

2012-05-14 Thread Jani Tiainen
'pk', 'identifier') list_of_models = sort_naturally(qs, 'identifier') sublist_of_models = list_of_models[10:20] for model in sublist_of_models: model.fetch_all_deferred_fields() -- Jani Tiainen - Well planned is half done and a half done has been sufficient before..

Re: files are downloadable in browser because of apache conf file! help!!!

2012-05-13 Thread Jani Tiainen
subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/xXizu5s--zcJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send em

Re: Use Django to implement my GUI!

2012-05-13 Thread Jani Tiainen
ed 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 > django-users+unsubscr...@googlegroups.com. > For more options, vis

Re: examples of integrating Sencha 2.0 Javascript front end.

2012-05-13 Thread Jani Tiainen
t; For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users&

Re: New Install - django-admin.py ... just gives contest/options but doesn't run?

2012-05-09 Thread Jani Tiainen
ess.com/2012/04/16/django-and-windows/ -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- 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@goog

Re: __contains, ok but contains how many ;-) ?

2012-05-09 Thread Jani Tiainen
ogle Groups > "Django users" group. > To post to this group, send email to django-users@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/

Re: inspectdb+oracle

2012-05-08 Thread Jani Tiainen
ite." but from posts I saw that it also works with oracle somehow. Does anyone know how I could fix this prob? Thx -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Dja

Re: Presentation Viewer on django

2012-05-08 Thread Jani Tiainen
ribed 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://grou

Re: Presentation Viewer on django

2012-05-07 Thread Jani Tiainen
ibed 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.goog

Re: help with "Key 'timeout' not found in "

2012-05-04 Thread Jani Tiainen
selectable list/dropdown and create real HTML form to send post with real submit button. c) Hybrid of a and b. I won't go into details since it would be just a mess. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message be

Re: Confused about GeoDjango and PostGIS

2012-04-25 Thread Jani Tiainen
. If you have lot's of geometries (1M+) you probably want to drop out spatial index and recreate it afterwards. Otherwise building index takes just long time. -- Jani Tiainen - Well planned is half done and a half done has been sufficient before... -- You received this message becaus

Re: problem with syncdb in geodjango tutorial

2012-04-24 Thread Jani Tiainen
jango trunk I've seen that error when you try to create new column in postgis database with SRID that doesn't exists in postgis srid definitions. You can check does SRID exist in database: select * from spatial_ref_sys where srid=; I suppose you did provided some SRID when defining c

Re: Can't start new project

2012-04-15 Thread Jani Tiainen
d get around the problem of windows peculiarities in python invocation. 16.4.2012 1:23, Brandy kirjoitti: I certainly will. Thanks for the advice:) On Sunday, April 15, 2012 2:42:00 PM UTC-5, Jani Tiainen wrote: It's apparently TCC/LE which saves me about all that command execution and arg

Re: Can't start new project

2012-04-15 Thread Jani Tiainen
0:04 PM, Brandy wrote: > If you would like to read more about the issue, I found the error already > reported on the Python website: http://bugs.python.org/issue7936 > > > On Saturday, April 14, 2012 1:52:00 PM UTC-5, Jani Tiainen wrote: > >> Sounds very goofy. django-admin.

Re: Can't start new project

2012-04-14 Thread Jani Tiainen
turday, April 14, 2012 12:45:32 AM UTC-5, Jani Tiainen wrote: > >> I really suggest you to use virtualenv, it makes your life easier in the >> long run. Also I use a TCC/LE instead of powershell / cmd prompt to mimic >> more unix like environment. >> >> Though

Re: Can't start new project

2012-04-13 Thread Jani Tiainen
s are created. " what you exactly mean by that? I feel that I should write short article how to make development in win7 slightly less painful... On Sat, Apr 14, 2012 at 8:19 AM, Brandy wrote: > No, I'm not using virtual environments. > > > On Friday, April 13, 2012 11:51:33 P

Re: Can't start new project

2012-04-13 Thread Jani Tiainen
ot; group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/G4kncIixzIAJ. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For

Re: ORA-00918: column ambiguously defined.

2012-04-13 Thread Jani Tiainen
s 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit th

<    1   2   3   4   5   6   7   8   >