Re: Crazy error with utf-8 & apache (please help!)

2009-03-20 Thread Ian Kelly
, because strings passed in to cx_Oracle will still be utf8- encoded and might still be mistaken for latin1. The fix to *that* would involve compiling cx_Oracle 5.0.1 with the WITH_UNICODE option, and then fixing up the backend so that it passes in unicode. I don't think that's a ma

Re: Django-Tagging not working with Oracle

2009-03-20 Thread Ian Kelly
On Mar 20, 8:26 am, Brandon Taylor <btaylordes...@gmail.com> wrote: > Hi Ian, > > Thanks for the response. The test case is adding the TagField() to any > model. > > Here's an excerpt from my model class: > > #models.py > from django.db import models > fro

Re: Crazy error with utf-8 & apache (please help!)

2009-03-19 Thread Ian Kelly
utf8' codec can't decode bytes > in position 3-4: invalid data. You passed in 'OTO\xd1O' () Indeed, that's the latin1 encoding of 'OTOÑO', not utf8. Maybe Oracle is getting somehow getting the client encoding confused. Try setting the environment variable N

Re: Django-Tagging not working with Oracle

2009-03-19 Thread Ian Kelly
k in. > > I can't get the TagField() to show up in the admin at all without > adding a custom form for my ModelAdmin class, and when I do, it won't > populate the Tags table. This is working correctly for me with the same setup. Can you come up with a simple test case that ex

Re: about checking if CharField value is empty

2009-03-14 Thread Ian Kelly
endent from all DB backends as opposed to  (if A > is not None and B is None) which seems not work? Yes, a form CharField will always represent an empty value as '', not None. Note that it shouldn't matter for your use case, though. The condition `if A and not B:` will work regardless

Re: Oracle connection without tnsnames.ora

2009-03-05 Thread Ian Kelly
db_hostname DATABASE_PORT = '1521' The important thing to note is that the DATABASE_NAME must be the SID in this case rather than the TNS name, which I suspect was the problem in the OP. Regards, Ian --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Oracle connection issue

2009-02-20 Thread Ian Kelly
ay be some caching going on at the proxy server. If that's not the problem, then I'm stumped. Hope that helps, Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Oracle connection issue

2009-02-20 Thread Ian Kelly
stamp, I think this is related to the original error you were getting (ORA-12505: TNS:listener does not currently know of SID) and not the current problem. Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: Oracle connection issue

2009-02-20 Thread Ian Kelly
y it would work in a manage.py shell, but not in a view. Also, this may seem obvious, but are you using the same settings and models modules in both places? Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Oracle connection issue

2009-02-20 Thread Ian Kelly
ectdb will blissfully ignore them). We do that all the time. Again, I'd need to see the models.py to understand what's going on. Or it could be that the Django user has permissions on the table, but not on the view. Ian --~--~-~--~~~---~--~~ You received thi

Re: Oracle connection issue

2009-02-20 Thread Ian Kelly
On Feb 20, 2:08 pm, Brandon Taylor <btaylordes...@gmail.com> wrote: > Hi Ian, > > Here's her's the quick model I wrote to try to select *something*: > > class TestCategory(models.Model): >     name = models.CharField(max_length=255) >     class Meta: >         db_tab

Re: Oracle connection issue

2009-02-20 Thread Ian Kelly
its automatically generated table names and not finding them. In the latter case, you should specify the 'db_table' Meta option [http://docs.djangoproject.com/en/ dev/ref/models/options/#db-table] on each of your models to the actual name of the table. Hope this helps, Ian --~--~-~--~~---

Re: Changing default app url in development server

2009-02-03 Thread Ian Lewis
What are you trying to do? If your development appserver is conflicting with a locally installed apache then why not just use a different port? python manage.py runserver 8001 2009/2/4 knight > > Hi, > > My question is: > > Is there a way to change my default app url in

RE: admin_perm_test decorator?

2009-01-28 Thread Ian Cullinan
Subject: Re: admin_perm_test decorator? On Jan 28, 7:49 pm, Ian Cullinan <ian.culli...@nicta.com.au> wrote: > The docs > athttp://docs.djangoproject.com/en/dev/ref/contrib/admin/#protecting-cu...say > to use the "decorator provided in django.contrib.admin.utils.admin_perm

admin_perm_test decorator?

2009-01-28 Thread Ian Cullinan
t): $ pwd /usr/lib/python2.5/site-packages/django/contrib/admin $ grep -R admin_perm_test * $ So what's the correct way to do this? Cheers, Ian Cullinan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: Search in a ManyToManyField in Admin interface

2009-01-28 Thread Ian
e your models that way. Probably your best solution will be to put the TextField in a separate one-to-one related model. If you do that, and you avoid using the `list_select_related` admin option, and you exclude the related model from the `list_display` admin opt

Re: Search in a ManyToManyField in Admin interface

2009-01-28 Thread Ian
tually a CLOB column for some reason (perhaps you changed the model but didn't drop and recreate the table), you would get that error when you tried to search over it. To fix it, either replace the offending CharField with a TextField, or change the offending CLOB to a VARCHAR2. Hope that helps, Ian

Re: Raw SQL parameters

2009-01-20 Thread Ian
not a bug, but a design question: should Django support passing query parameters as mappings; if so, should the backend pass the engine's native style through unchanged, or should we standardize on "pyformat" (as we have already standardized

RE: reverse() problems (NoReverseMatch)

2009-01-15 Thread Ian Cullinan
That makes sense now, thank you. Another item for my "things that are weird in Python" list. Cheers, Ian -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Malcolm Tredinnick Sent: Friday, 16 January 2009 1:19 PM

RE: reverse() problems (NoReverseMatch)

2009-01-15 Thread Ian Cullinan
hat view should be a perfectly unambiguous way to specify which urlpattern you want. Though I'm probably missing some piece of the picture and there's an implementation detail that screws this up. Cheers, Ian -Original Message- From: django-users@googlegroups.com [mailto:djang

RE: reverse() problems (NoReverseMatch)

2009-01-15 Thread Ian Cullinan
. Is this a bug? Cheers, Ian Cullinan -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Ian Cullinan Sent: Friday, 16 January 2009 10:57 AM To: django-users@googlegroups.com Subject: RE: reverse() problems (NoReverseMatch) Using

RE: reverse() problems (NoReverseMatch)

2009-01-15 Thread Ian Cullinan
from django.core.urlresolvers import reverse reverse('face-search') Dj Gilcrease OpenRPG Developer ~~http://www.openrpg.com On Thu, Jan 15, 2009 at 5:13 PM, Ian Cullinan <ian.culli...@nicta.com.au> wrote: > > def start_search(request): >if request.method == 'POST': >form =

RE: reverse() problems (NoReverseMatch)

2009-01-15 Thread Ian Cullinan
) problems (NoReverseMatch) whats your start_search function look like Dj Gilcrease OpenRPG Developer ~~http://www.openrpg.com On Thu, Jan 15, 2009 at 5:00 PM, Ian Cullinan <ian.culli...@nicta.com.au> wrote: > I'm trying to use django.core.urlresolvers.reverse in the url method of a >

reverse() problems (NoReverseMatch)

2009-01-15 Thread Ian Cullinan
uot;, line 243, in reverse "arguments '%s' not found." % (lookup_view, args, kwargs)) NoReverseMatch: Reverse for '' with arguments '()' and keyword arguments '{}' not found. Passing the view function by name doesn't work either. What's going on here? Am

Re: I love both Django and the Google Web Toolkit. Who else thinks tighter integration would be nice?

2008-12-16 Thread Ian Lawrence
Hi look at http://autotest.kernel.org/ this is a djand and gwt application used for kernel testing. It basically sets up an RPC django server which passes json into gwt. It is a great app to learn how this all works Ian -- http://ianlawrence.info

Re: Bug? Related manager not working for custom manager?

2008-11-19 Thread Ian Lewis
John, Try checking the log output of the database server to see what is different about the SQL. Perhaps some kind of caching is going on where the manager is caching the results of it's queries? On Thu, Nov 20, 2008 at 11:21 AM, John M <[EMAIL PROTECTED]> wrote: > > I have a model with a

Re: MySQL deadlocking issues

2008-11-18 Thread Ian Lewis
just catch it and return an error to the user. I'm curious what you did to catch the error and retry. Did you create a custom kind of DB backend? or did you just add that logic to the particular view that was giving you trouble? Ian On Wed, Nov 19, 2008 at 1:40 PM, DavidA <[EMAIL PROTEC

MySQL deadlocking issues

2008-11-18 Thread Ian Lewis
I've run into the following error in a SQL DB envornment and was wondering if any one else had run into problems with Deadlocking with MySQL. What would be the proper way to handle this kind of error in Django? Do most folks simply catch the OperationalError and show some sort of error to the

Tips for reading The Django Book in light of Django 1.0

2008-11-17 Thread Ian Fitzpatrick
this doc already, for what it's worth: http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/ Thanks, Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Oracle Clob Field type

2008-11-06 Thread Ian
thing somebody's come across before. Django doesn't use LONG columns. Please make sure that you're using Django 1.0+ and *not* a 0.96 release. The oracle backend included in 0.96 was incomplete and should not be used. Hope that helps, Ian --~--~-~--~~~---~--~~ You r

Re: Django Apps

2008-10-24 Thread Ian Maurer
You should probably start by looking at these 2 projects for CMS and eCommerce: http://django-cms.org/ http://www.satchmoproject.com/ Good luck and welcome to Django! regards, Ian http://itmaurer.com/ --~--~-~--~~~---~--~~ You received this message because you

Re: File upload progress bar for Django?

2008-10-22 Thread Ian Lawrence
Hi very cool..thx for putting this together. You have saved me some time! Ian -- http://ianlawrence.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: MySQL to Oracle db engine

2008-10-21 Thread Ian
teError: 'module' object has no attribute 'NCLOB' > > Has anyone seen this before - not much on the web. > > Thanks, > > Martin Hi Martin, What version of cx_Oracle do you have installed? As noted in the installation guide, Django requires at least version 4.3.1. -Ian

Simplest unit testing of models fail ...

2008-10-18 Thread Ian J Cottee
ere only 15 chars were allowed. Is this testable? Ian --~--~-~--~~~---~--~~ 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 th

Re: Oracle DateTime SQL error

2008-10-10 Thread Ian
'TS', blank=True) >     class Meta: >         db_table = u'IFS_UIFN_SLO_TUJ' This would happen if the Oracle type of the datum_* columns is DATE rather than TIMESTAMP. If that's the case, you need to represent those columns in your model using DateField rather than DateTimeField (inspectdb d

Re: DBA-level DB options?

2008-09-15 Thread Ian
them, you can do that as well using the inspectdb management command. The introspection is not perfect, so without a doubt you will need to edit the generated models to some extent. -Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

ANN: 'Django in Under a Minute' screencast

2008-09-04 Thread Ian Ozsvald
cast/ If this screencast is well-received then I'll look into making a longer screencast accompaniment to the 4-part Django Tutorial series. I'm the co-founder of ShowMeDo, we'd love to get more involved with Django. Cheers, Ian. -- Ian Ozsvald (Professional Screencaster) [EMAIL PROTECTED] http://ProCasts.co.uk

Re: 'Django in Under a Minute' screencast, requesting feedback before v1-final is ready

2008-09-04 Thread Ian Ozsvald
Hi Rodolfo, thanks for the feedback. I've just finished the v1 version, once it is uploaded to Vimeo etc I'll announce it here. I'm glad you liked Chrome, I figured it'd make for a change from Firefox or Safari :-) Cheers! Ian. 2008/9/4 Rodolfo <[EMAIL PROTECTED]> > > Man, nice

'Django in Under a Minute' screencast, requesting feedback before v1-final is ready

2008-09-03 Thread Ian Ozsvald
-received then we'd look to do more Django material. Cheers, Ian (ShowMeDo/ProCasts) -- Ian Ozsvald (Professional Screencaster) [EMAIL PROTECTED] http://ProCasts.co.uk http://IanOzsvald.com + http://ShowMeDo.com --~--~-~--~~~---~--~~ You received this message

Re: import of mysql in settings.py

2008-08-21 Thread Ian Holsman
to validate the problem is with the include. regards Ian > For me, I think it's because Mac OS X 10.5.4 doesn't have this python > thing installed. The documentation and tutorial should mention this, > IMO. > > http://code.djangoproject.com/ticket/5531#comment:12 > > On Aug

Re: Testing with an Oracle DB

2008-07-21 Thread Ian
full database (take a look at django/db/backends/oracle/ creation.py for the full details). Hope that answers your question, Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: newforms and commit=False

2008-07-17 Thread Ian Lawrence
ST, auto_id=AUTO_ID) so validation always fails. There is also a warning in this file that preview_post is a METHOD SUBCLASSES SHOULDN'T OVERRIDE. Any idea why not and what to watch out for if I do Thanks for your help Ian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: ht

newforms and commit=False

2008-07-17 Thread Ian Lawrence
' : form.themename, 'userfile' : form.userfile} # Save the user approved theme in the database final_form = ThemeForm(data) final_form.save() Sorry if i have missed something obvious here Ian - -- http://ianlawrence.info -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU

wsgi and os.environ

2008-07-15 Thread Ian Lawrence
Hi, I am experimenting with wsgi. I saw that this can be one way to enable it: os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' this seems a little strange to me setting something global to your process. Is this best practice on the mod_wsgi world? thx Ian -- http://ianlawrence.info

Re: Oracle syncdb

2008-07-03 Thread Ian
ses an error at the sequence, the AutoField trigger doesn't get created either, and so you get the second error when trying to save objects. Did you perhaps create the schema once before, but then dropped all the tables without also dropping the sequences? Try clearing out the schema entire

Restriction of Model Inheritance - mixing multi table and abstract

2008-07-01 Thread Ian J Cottee
m breaking here? Cheers Ian --- Code follows --- from django.db import models import datetime # Create your models here. class BaseModel(models.Model): """Abstract class used for some common fields""" created_at = models.DateTimeField(blank=True, defaul

Re: Mobile version of a site

2008-06-27 Thread Ian Lawrence
plates. Finally in apache's vhost configuration, for the main site you do: SetEnv DJANGO_SETTINGS_MODULE main_site.settings and in the vhost for the mobile site, you do: SetEnv DJANGO_SETTINGS_MODULE mobile_site.settings HTH Ian -- http://

Re: Development environment

2008-06-26 Thread Ian Lawrence
Hi, >> I'm currently learning django on Ubuntu, but my background is Windows, >> so I'm not a VIM kind of guy. What kind of IDE do you guys use or >> recommend? I use eric4 IDE on ubuntu with the Project Django plugin enabled (sudo apt-get install eric4) Ian -- http:

ASP.Net GridView Equivalent in Django

2008-06-04 Thread Ian
I am .Net developer looking to switch over to Python. I have started looking at Django and was wondering if there is a widget equivalent to ASP.Net's GridView in terms of richness of functionality. If someone knows of any and has some examples of its use I would greatly appreciate it.

Re: code runs in django shell but not apache

2008-05-19 Thread Ian Lawrence
he web for the words apache/permissions and problems and i found out that i needed to set some executable bits like chmod -R o+r /home/ian/Web/themes find /home/ian/Web/media/themes -type d | xargs chmod o+x > > Also, your themegen.py contains a bunch of catch-all exception > clauses. Th

code runs in django shell but not apache

2008-05-19 Thread Ian Lawrence
except Theme.DoesNotExist: raise Http404 I *think* this might have something to do with permissions as the user ian runs the django shell but www-data the apache process. i have changed permissions and ownership but still no joy. Any ideas would be great (themegen.py is attached) -- http

Re: Overwriting RSS item links

2008-04-11 Thread Ian Lawrence
On Fri, Apr 11, 2008 at 7:40 AM, Ian Lawrence <[EMAIL PROTECTED]> wrote: > Hi > > > Is there any way I can change this behaviour as I need to overwrite the URL > > completely to something like > you could do something like in settings.py: > ROOT_URL = whogotmassiv

Re: Overwriting RSS item links

2008-04-11 Thread Ian Lawrence
template to get the variable and pass it back into the view but i have not yet fully thought out the technique...any advice is obviously welcome Ian -- http://ianlawrence.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

paul bragiel / lefora is a spammer

2008-04-09 Thread Ian Holsman
Writing it here as lefora is written on django, and he or the developer who wrote it for him will see it and be ashamed of themselves. This guy just IM'd me asking me to digg his forum software. I have never met the guy, and am assuming he also spammed other people on the mailing list. and am

Re: How to do background processing with Django

2008-03-26 Thread Ian Lawrence
ing up xml-rpc is not much more than this...i did this recently at https://help.ubuntu.com/community/UMEGuide/ApplicationDevelopment/GPSEnabledWebApplication and it is pretty simple to do (and really the best way IMO to run background processes) Ian -- http://ianlawrenc

Re: Oracle invalid environment variables

2008-03-04 Thread Ian
here. You might also try asking your question on the cx_Oracle mailing list. Somebody there may have better insight into your problem. Hope that helps, Ian Kelly On Mar 4, 1:45 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello Django Users, > > Althought this is p

TestClient assertFormError method.

2008-02-22 Thread Ian Macdonald
s correct, and/or if there's a work-around or something I'm doing wrong? I'd rather not take apart the dictionary just for the sake of getting the tests to run (that seems a bit backward) but I also really like having a test suite I can rely on. Any ideas or suggestions gr

Re: Xcode as Django IDE

2008-02-13 Thread Ian Holsman
Alex Ezell wrote: > Textmate works great for me. I use GetBundle > (http://projects.validcode.net/getbundle) to get the Django bundle > which does syntax completion and highlighting for Django-specific > Python files and Django template HTML. > > Textmate, and a couple of terminal windows for

Re: About to give up!!!

2008-02-09 Thread Ian Lawrence
Ola what are the permissions on the image file? regards ian -- always code as if the person who ends up maintaining it will be a violent psychopath who knows where you live. http://ianlawrence.info --~--~-~--~~~---~--~~ You received this message because you

Model validation basics

2008-01-12 Thread Ian J Cottee
character varying(15) BANG! I'd be expecting for Django to tell me before postgres does, that the field does not validate. Am I misunderstanding something? Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: Specifying tables with schema names in models

2007-12-06 Thread Ian
ous sql for those models. This hasn't proven problematic for us yet, since we don't use syncdb to generate our schemas except in the early stages of development. It sounds like you're probably not using it to begin with (I imagine your approach would run into the same problem), so this may not

Re: _real_get_response: global name '_' is not defined

2007-12-04 Thread Ian Lawrence
ah just read the complete thread with the solution...sorry for the line noise regards Ian On Dec 4, 2007 9:42 AM, vern <[EMAIL PROTECTED]> wrote: > > Hi > i am being bitten by this too...i think it has something to do with > python 2.5 not supporting an underscore at the s

Re: Oracle usage

2007-11-27 Thread Ian
r all Oracle installations. Ian --~--~-~--~~~---~--~~ 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 [EMA

Re: Oracle Backend - syncdb

2007-11-21 Thread Ian
to be a cleaner solution than patching the provided apps. Thanks for bringing this up again, by the way. It will give me something to work on at the upcoming sprint. :-) Ian [1] http://groups.google.com/group/django-developers/browse_thread/thread/32d9d02ab0d13231/442f69bd72f75853 --~--

Re: Setting up your django project outside the document root

2007-11-21 Thread Ian Lawrence
.bashrc this opens .bashrc and at the end of the file add this line: export PYTHONPATH=".:$HOME/Web/django_projects" HTH Ian On Oct 27, 2007 3:20 PM, Adam D. <[EMAIL PROTECTED]> wrote: > I see where you are doing the symlinking... > > [EMAIL PROTECTED]:~$ cd /var/www >

Re: Setting up your django project outside the document root

2007-10-27 Thread Ian Lawrence
Ola basically you sym link it... I recently did exactly this and wrote up the procedure here: http://ianlawrence.info/random-stuff/set-up-django-apache-and-postgresql-on-ubuntu-feisty hope this helps Ian On 10/27/07, Adam D. <[EMAIL PROTECTED]> wrote: > > I am a newbie. > >

Re: multiple database support: oracle backend

2007-10-17 Thread Ian
mix Oracle databases with non-Oracle databases, since OracleQuerySet replaces QuerySet entirely when Oracle is used. However, OracleQuerySet is a hack that will be going away after the QuerySet refactor, which solves both problems in the long run. Ian --~--~-~--~~~---

Re: Django - Oracle support

2007-10-16 Thread Ian
enabling it. I don't know off the top of my head how complex that kind of change would be. Ian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: forum to mailing list integration

2007-10-03 Thread Ian Lawrence
Ola I should think this functionality would be a valuable addition to Django so thx for your pointers. abracos Ian On 10/2/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-10-02 at 13:22 -0400, Ian Lawrence wrote: > > Hi > > I have a requirement f

forum to mailing list integration

2007-10-02 Thread Ian Lawrence
but that is not crucial thx Ian -- http://ianlawrence.info --~--~-~--~~~---~--~~ 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 g

Re: Trying to install trunk version - svn error

2007-09-20 Thread Ian
elcome. If you're using Oracle, then you absolutely want to be using trunk rather than 0.96. The svn error is likely a firewall issue [1]. I don't think that code.djangoproject.com accepts https connections, so your best bet is to reconfigure the firewall or get it out of the way. [1] http

Re: Problem using newforms cleaned_data with Oracle and DateField

2007-09-18 Thread Ian
I'm unable to reproduce the error you're getting. The default table name would be app_survey rather than just survey, where app is the name of the application, so you might check that the table you listed is the same table that Django is using. Hope that helps, Ian On Sep 18, 5:03 pm, Catriona

Re: Problem using newforms cleaned_data with Oracle and DateField

2007-09-18 Thread Ian
Catriona, What versions of Python and Django are you using? What output do you get from running a describe on the Survey model's table? Ian On Sep 17, 5:07 pm, Catriona <[EMAIL PROTECTED]> wrote: > Hello > > I'm a newbie to Django and Python so sorry if this is a dumb mistake

Re: uploading to a separate directory

2007-09-18 Thread Ian Lawrence
ola, am i glad that people like you exist!!...you explained things just fine and your code works like a charm regards Ian On 9/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > You can not do what you are trying to do, the way you are doing it ;-) > > The problem is th

single sign on for integrated django,trac and phpBB site

2007-08-27 Thread Ian Lawrence
Ian -- http://ianlawrence.info --~--~-~--~~~---~--~~ 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 and syncdb

2007-08-17 Thread Ian
David, I haven't seen this one before. I just tried a syncdb against the current trunk (rev 5918) with no problems. Would you please create a bug report with an example we can use to reproduce this? Thanks, Ian On Aug 16, 6:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

Re: Custom primary key using Oracle 10g

2007-08-15 Thread Ian
On Aug 15, 9:43 pm, Catriona <[EMAIL PROTECTED]> wrote: > Hi Ian > > Sorry I wasn't really clear in what I want to achieve. I really just > want to call my primary key, in this case, employee_id and have it > incremented automatically. Sorry I misunderstood you. The c

Re: Custom primary key using Oracle 10g

2007-08-15 Thread Ian
. This is true across all the backends, not just Oracle. -Ian On Aug 14, 5:34 pm, Catriona <[EMAIL PROTECTED]> wrote: > Hi Jon > > Thanks for your reply. I read the article but with Oracle, a sequence > and trigger needs to be created for autogenerated primary keys. If I > try the

Re: django hosting companies

2007-08-14 Thread Ian Lawrence
ola i have said before on this list but these http://www.webfaction.com/ guys are awesome...i have nothing to do with them i just respect their service and support []'s Ian On 8/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I was looking at the django friendly host

Re: Music E-zine development in Django

2007-06-06 Thread Ian Lawrence
Hi, Can you post me the svn link too to play around with..i am involved with a Brazilian Free Studio Project called Estudiolivre (http://estudiolivre.org) and it would be great to co-operate. Regards Ian On 6/6/07, temnoregg <[EMAIL PROTECTED]> wrote: > > thanks for response, > &g

Re: \d and \w regular expressions?

2007-05-09 Thread Ian Lawrence
Ola, http://www.amk.ca/python/howto/regex/ is a pretty gentle intro []'s Ian On 5/9/07, gsmith <[EMAIL PROTECTED]> wrote: > > Is there any documentation of what these do? I'm assuming that this > is a Python regular expression? > > The reason I ask is becuase I have a li

Re: Need dedicated hosting for Django

2007-04-17 Thread Ian Lawrence
Hi, I use webfaction: www.webfaction.com and their level of service and technical ability is the best I have found. Their web panel makes hosting for 'web developers' very simple. Highly recommended. []'s Ian On 4/17/07, Nik Kantar <[EMAIL PROTECTED]> wrote: > > Hey guys, > >

Re: trailing slash added to passed form data

2007-04-13 Thread Ian Clelland
the value and the "/" character. Something like this: would be valid XHTML. If you don't care at all about XML conformance, you could also just get rid of the "/" and have which is valid HTML, but not XHTML. Regards, Ian Clelland <[EMAIL PROTECTED]> --~--~-

Re: running into wall doing templates part of tutorial

2007-04-07 Thread Ian Clelland
ertainly cause a python syntax error. Regards, Ian Clelland <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ 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

Re: Django IDE

2007-04-07 Thread Ian
Greg: Command-` from within X application. On Apr 5, 6:24 pm, "Greg Donald" <[EMAIL PROTECTED]> wrote: > On 4/5/07, John Goodleaf <[EMAIL PROTECTED]> wrote: > > > > > Wing IDE. > > It looks really nice but then I discovered I would have to run an > Xserver to run it on my Mac. That's not a

Re: Prevent URLs from being called directly

2007-03-30 Thread Ian
This situation is greatly helped if the same view displays the form as well as processes it. So it could look something like this: def write_entry(request): form = EntryForm() if request.POST: form = EntryForm(request.POST) if form.is_valid(): ... save entry,

Re: Rails/Django comparison synopsis

2007-03-29 Thread Ian Holsman
ails developers out there, but on the flip side there are also more open reqs for rails guys as well. - 3rd party add on's. I think django's python background gives it a lead on this, and the framework is structured lends itself to reuse. regards Ian On 12/09/2006, at 9:41 AM, Jeff Roden

Re: Newforms: Is the current method of multiple field comparison the best way?

2007-03-16 Thread Ian
> super(ConfirmForm2,self).__init__(*args,**kwargs) Copy paste edit: ConfirmForm, not with the 2. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Newforms: Is the current method of multiple field comparison the best way?

2007-03-16 Thread Ian
Here's another brainstorm that's sort of a combination. :) It's a Form that handles confirmation validation, but does so at the field level. Code will help illuminate what I mean: class ConfirmForm(forms.Form): """ ... """ def __init__(self, *args, **kwargs):

Re: Newforms: Is the current method of multiple field comparison the best way?

2007-03-16 Thread Ian
nder_value=False)) confirm_password = forms.CharField(widget=PasswordInput(render_value=False)) > (also, django-developers is probably a better place to discuss this, > since it's a design issue in Django itself) You're right, thanks. I'll post a note there. Ian --~--~-~--~--

Newforms: Is the current method of multiple field comparison the best way?

2007-03-16 Thread Ian
ld() password = forms.CharField(widget=PasswordInput(render_value=False)) confirm_password = ConfirmCharField(field=password, error="The passwords must match") Anyone have any thoughts? Thanks, Ian --~--~-~--~~~---~--~~ You received this messa

Re: ¿django-es?

2007-02-13 Thread ian
> > Hola, si te refieres a una lista de django en español, si la tenemos > la formamos hace un tiempo atras, si deseas suscribirte esta en: [portuguese] Opa, seja bem vindo!! valeu, []'s Ian [english uk] Crikey, you are welcome salute's []'s Ian F U cn rd dis U mst

Re: Django Hosting

2006-10-20 Thread Ian Holsman
NZ it just seems like a very cheap setup with not much thought.. but not anonymous by any means. > > > > > > > -- Ian Holsman [EMAIL PROTECTED] http://zyons.com/ build a Community with Django --~--~-~--~~~---~--~~ You received this message b

Re: (Third Attempt To Post)Complex Application Security Model

2006-10-19 Thread Ian Holsman
On 20/10/2006, at 9:01 AM, [EMAIL PROTECTED] wrote: > > Hi Ian, > This is very similar to what Chris has done. The issue is that his > code hasn't been merged with Trunk, which puts me in an awkward > position in terms of adopting it for something that is outside the &g

Re: (Third Attempt To Post)Complex Application Security Model

2006-10-19 Thread Ian Holsman
Hi Nick. can you tell me how this is different that the stuff Chris Long worked on in his branch? It seems very similar. regards Ian. On 20/10/2006, at 6:24 AM, [EMAIL PROTECTED] wrote: > > Note: I have tried to post this two other time, but the thread wasn't > added to the

Re: Django Hosting

2006-10-19 Thread Ian Holsman
I've been using webfaction for a couple of months, and haven't had any issues. their machines stay up, service is prompt and helpful, and the machines themselves appear lightly loaded too. what else can u ask for? --I On 20/10/2006, at 6:41 AM, ian wrote: > > yes, after remi poste

Re: Django Hosting

2006-10-19 Thread ian
yes, after remi posted here a while back i took the plunge with webfaction. I have a couple of sites up and running now and i haven't had any problems or had to talk to anyone...really excellent stuff +1 webfaction []'s -- Ian Lawrence Centre for Bioinformatics INSTITUTO NACIONAL DE PESQUISAS DA

Re: advice needed - how to manage 100+ django sites in a scaleable, manageable setup

2006-10-17 Thread Ian Holsman
Hi Tone. I have about 10 sites running the same/similar codebases on 3 different machines. send me some more info offline (or skype me on iholsman) and we can chat about it. regards Ian. On 18/10/2006, at 9:07 AM, tonemcd wrote: > > Hi all, > We're about to put our first dj

Re: python textile library?

2006-10-09 Thread ian
this and how can I install it? > > Thanks, > Ryan > > > > > Ola, On Debian/Ubuntu: [EMAIL PROTECTED]:$apt-get install python-textile []'s Ian -- Ian Lawrence Centre for Bioinformatics INSTITUTO NACIONAL DE PESQUISAS DA AMAZÔNIA-INPA RUA ANDRÉ ARAÚJO N º .2936 , BAIRRO

Re: sharing session information with plone

2006-10-06 Thread ian
gin here: http://plone.org/products/gmailauthplugin which is very simple and and can be used as a learning tool or even a template. If you do write something for Django send it to the list []'s -- Ian Lawrence Centre for Bioinformatics INSTITUTO NACIONAL DE PESQUISAS DA AMAZÔNIA-INPA RUA ANDRÉ ARA

<    1   2   3   4   5   6   7   >