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 <rede...@gmail.com> 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 AL1

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

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

2013-01-09 Thread Jani Tiainen
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: def test_unicode(self

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

2013-01-08 Thread Jani Tiainen
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_unicode(self): # N

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

2013-01-08 Thread Jani Tiainen
that problem. On 8 tammi, 17:34, Jani Tiainen <rede...@gmail.com> 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_Oracle. But when I u

ORM, Oracle and UTF-8 encoding problem.

2013-01-08 Thread Jani Tiainen
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 subscribed to the Google Groups

Re: Using django's oodb alone

2013-01-03 Thread Jani Tiainen
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. To post to

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

2012-12-27 Thread Jani Tiainen
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 done has

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 from

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 "Djan

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Jani Tiainen
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 subscribed

Re: How to get oracle NUMBER with syncdb

2012-10-17 Thread Jani Tiainen
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 done has bee

Re: Trouble with VirtualEnv on Windows

2012-10-15 Thread Jani Tiainen
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 planned is half done and a

Re: Trouble with VirtualEnv on Windows

2012-10-14 Thread Jani Tiainen
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, visit this group at http:

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 <rede...@gmail.com> wrote: > Hi, > > since we tried to upgrade our systems to work with 1.4

reverse funtion returns fully qualified names

2012-10-03 Thread Jani Tiainen
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 users&q

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 <rede...@gmail.com <mailto:rede...@gmail.com> <mailto:rede...@gmail.com <mailto:rede...@gmail.com&g

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, Jani Tiainen

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? Nope

Re: Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
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 <rede...@gmail.com <mailto:rede...@gmail.com>> wrote: Hi,

Django 1.4.1, multiple geometry fields problem

2012-10-02 Thread Jani Tiainen
'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 sufficient before... -- You received this messag

Re: A lots of foreign keys - Django Admin

2012-09-26 Thread Jani Tiainen
3D3g0h3h1A 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 to the Google Groups "Django users" group. To

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
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" group. To post

Re: A lots of foreign keys - Django Admin

2012-09-25 Thread Jani Tiainen
J. 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 planned is half done and a half d

Re: Getting Started

2012-09-24 Thread Jani Tiainen
ot; 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
is 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 users" grou

Re: GeoDjango and shapefiles

2012-09-20 Thread Jani Tiainen
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 - Openlayers.

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
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 "Djan

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
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 post to this group,

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 rec

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
groups.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 least one known point to be sure that problem is not somewhere in your import process? -- Jani Tiainen - Well plann

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
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@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more

Re: Iphone applications via django

2012-09-12 Thread Jani Tiainen
. 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 sencha touch

Re: Iphone applications via django

2012-09-12 Thread Jani Tiainen
ou 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 group at http://groups.google.com/group/

Re: Override save or other options?

2012-09-10 Thread Jani Tiainen
rriding 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. -- Jani Tiainen - Well planned is half done

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 <akaram...@gmail.com>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: >

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

2012-09-10 Thread Jani Tiainen
nd 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 this message because yo

Re: Static files not loading when debug is false

2012-09-09 Thread Jani Tiainen
-admin-option---insecure On Sun, Sep 9, 2012 at 11:30 PM, Jani Tiainen <rede...@gmail.com> 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 &

Re: Static files not loading when debug is false

2012-09-09 Thread Jani Tiainen
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, and a half d

Re: Django - change select items display

2012-08-27 Thread Jani Tiainen
ons, 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_label HTH, -- Ja

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
port 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 and a half done

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

2012-08-23 Thread Jani Tiainen
cular 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.com. To uns

Re: What is the easy way to install DJango?

2012-08-22 Thread Jani Tiainen
nning 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 them for

Re: problems in installing django on windows 7

2012-08-20 Thread Jani Tiainen
e.com/group/django-users?hl=en. -- Thanks & 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 s

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 received th

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

2012-07-16 Thread Jani Tiainen
the date self.publication_date = None super(self, MyPublicationModel).save(...) On Mon, Jul 16, 2012 at 3:39 AM, Nicolas Emiliani <or3s...@gmail.com> wrote: > > > On Sun, Jul 15, 2012 at 8:10 PM, Jani Tiainen <rede...@gmail.com> wrote: > >> Hi, &

Re: Query Distance from User

2012-07-15 Thread Jani Tiainen
t; To post to this group, send email to django-users@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> django-users+unsubscribe@**googlegroups.com<django-users%2bunsubscr...@googlegroups.com> >>>>> . >>>>

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

2012-07-15 Thread Jani Tiainen
e, y es bien 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+unsub

Re: Catch or raise exception designissue

2012-07-15 Thread Jani Tiainen
ion 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 <m.r.sopa...@gmail.com>wrote: > [reformatted] > > On 11-7-2012 20:41, Jani Tiainen wrote: > > On Wed, Ju

Re: Form 'POST' to a database

2012-07-13 Thread Jani Tiainen
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, visit this group at > h

Re: Form 'POST' to a database

2012-07-11 Thread Jani Tiainen
Dennis Lee Bieber 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@goo

Re: Catch or raise exception designissue

2012-07-11 Thread Jani Tiainen
ot; 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...@googlegroups.com.

Re: model sends two requests

2012-07-11 Thread Jani Tiainen
Dennis Lee Bieber AF6VN >> wlfr...@ix.netcom.com >> HTTP://wlfraed.home.netcom.**com/ >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussi

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 <m.r.sopa...@gmail.com>wrote: > On 9-7-2012 20:41, Jani Tiainen wrote: > > Are you asking how to write custom authentication backend that can suit > > your needs? > >

Re: Different authentication package

2012-07-09 Thread Jani Tiainen
s@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

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

2012-07-06 Thread Jani Tiainen
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('add_record/studentid.html', ..

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

2012-07-06 Thread Jani Tiainen
. {% endif %} STUDENT RECORD SYSTEM {% csrf_token %} Student Roll no: On Fri, Jul 6, 2012 at 2:49 PM, Jani Tiainen <rede...@gmail.com <mailto:rede...@gmail.com>> wrote: Print out form.errors it will contain dictionary about fields an

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

2012-07-06 Thread Jani Tiainen
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@googlegroups.com. To unsubscribe

Re: Query with GeoDjango

2012-07-01 Thread Jani Tiainen
> 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 -

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 <rede...@gmail.com> wrote: > I

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

2012-06-29 Thread Jani Tiainen
is 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 group a

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

Re: Render time

2012-06-26 Thread Jani Tiainen
.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 suffic

Re: setting up django with virtualenv on windows7

2012-06-25 Thread Jani Tiainen
:\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 received

Re: base_url() in django

2012-06-25 Thread Jani Tiainen
oup. > 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 -

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-us

Re: Error creating project from the Command Prompt

2012-06-07 Thread Jani Tiainen
/ -- 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 from this group,

Re: Oracle schema not working

2012-06-04 Thread Jani Tiainen
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 Oracle b

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

Re: Oracle schema not working

2012-06-01 Thread Jani Tiainen
rwise 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 to the Google Groups "Django users" gro

Re: App inside another app or nesting in django apps

2012-06-01 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<rede...@gmail.com> wrote: 31.5.

Re: App inside another app or nesting in django apps

2012-06-01 Thread Jani Tiainen
pnames still must be 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 suffi

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 planned is

Re: Use Django to implement my GUI!

2012-05-19 Thread Jani Tiainen
gt;> >>> >> >>> >> >>> >> >>> -- >> >>> ngont...@epitech.net >> >>> sympav...@gmail.com >> >>> >> >>>

Re: Use Django to implement my GUI!

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

Re: Use Django to implement my GUI!

2012-05-15 Thread Jani Tiainen
application deployment. Hope now it's clear for you, and more for the other users. Thanks! 2012/5/13 Jani Tiainen <rede...@gmail.com <mailto:rede...@gmail.com>> Hi, There is several ways to achieve what you maybe want to do. One of the simplest way is separate frontend (

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 <akaar...@gmail.com> wrote: > On May 14, 3:29 pm, Jani Tiainen <rede...@gmail.com> 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<rede...@gmail.com> 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 serverside n

Deferred fields problem.

2012-05-14 Thread Jani Tiainen
= 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... -- You received this message because you are subscribed

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

2012-05-13 Thread Jani Tiainen
is message because you are 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 thi

Re: Use Django to implement my GUI!

2012-05-13 Thread Jani Tiainen
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 group at > http://groups.google.com/

Re: examples of integrating Sencha 2.0 Javascript front end.

2012-05-13 Thread Jani Tiainen
+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 this message because you are subscribed to the Google Groups &q

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

2012-05-10 Thread Jani Tiainen
ally in win7: 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 users" group. To post to this grou

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

2012-05-09 Thread Jani Tiainen
> "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

Re: inspectdb+oracle

2012-05-08 Thread Jani Tiainen
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 "Django us

Re: Presentation Viewer on django

2012-05-08 Thread Jani Tiainen
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.go

Re: Presentation Viewer on django

2012-05-07 Thread Jani Tiainen
;> > -- > 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

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

2012-05-04 Thread Jani Tiainen
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 because you are subscribed to the Google Groups &quo

Re: Confused about GeoDjango and PostGIS

2012-04-25 Thread Jani Tiainen
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 because you are subscribed to the Google Groups "Django users" grou

Re: problem with syncdb in geodjango tutorial

2012-04-24 Thread Jani Tiainen
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 column in model... -- Jani Tia

Re: Can't start new project

2012-04-15 Thread Jani Tiainen
nd 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 passing hazzle

Re: Can't start new project

2012-04-15 Thread Jani Tiainen
<brandy.norri...@yahoo.com> 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

Re: Can't start new project

2012-04-14 Thread Jani Tiainen
ed. > > > On Saturday, 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. &

Re: Can't start new project

2012-04-13 Thread Jani Tiainen
day, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote: > >> Are you using virtual environments? >> >> Since I've been doing all my django development on windows last 3 years >> without any major problems... >> >> On Sat, Apr 14, 2012 at 6:04 AM, Brandy <br

Re: Can't start new project

2012-04-13 Thread Jani Tiainen
t; "Django users" 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..

Re: ORA-00918: column ambiguously defined.

2012-04-13 Thread Jani Tiainen
cause 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 group

<    1   2   3   4   5   6   7   8   >