Re: data truncation: web page field input vs direct manipulation

2007-07-10 Thread qhfgva
Well, I upgraded to the trunk version of django and now my error looks like this: UnicodeDecodeError: 'utf8' codec can't decode byte 0x94 in position 6: unexpected code byte Not sure if this is much of an improvement. On Jul 10, 2:03 am, Horst Gutmann <[EMAIL PROTECTED]> wrote: > qhfgva wrote:

Re: newforms MultipleChoiceField caches the first data

2007-07-10 Thread KwonNam Son
Thank you James. I solved the problem like the following. def __init__(self, data=None, auto_id='id=%s', prefix=None, initial=None): super(DynamicForm, self).__init__(data, auto_id, prefix, initial) self.fields['dynamic_field'].choices = [(dynamic.id, dynamic.nickname) for

Re: how to set language explicitly in multi-lingual site

2007-07-10 Thread Amit Ramon
Thanks, Malcolm. It works like a magic :) Just a small correction: it's utils, not util: django.utils.translation.activate() I think I'll now see how to I can write a middleware, so I won't have to call this in each and every view. All the best, Amit > > The problem I'm facing is how to set

Re: what do you guys think of Storm by Canonical?

2007-07-10 Thread Jeremy Dunck
On 7/10/07, bedros <[EMAIL PROTECTED]> wrote: > > they just released under open source (LGPLv2). > > > https://storm.canonical.com/ Prior thread: http://groups.google.com/group/django-developers/browse_thread/thread/185f62e8e26d71ea/fc311fdd69f37006?

what do you guys think of Storm by Canonical?

2007-07-10 Thread bedros
they just released under open source (LGPLv2). https://storm.canonical.com/ Tutorial is here https://storm.canonical.com/Tutorial --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: installation issues

2007-07-10 Thread Carl Karsten
surfwizz wrote: > I am having trouble installing Django on Mac OSX 10.4.10. Any help > would be welcome. Thanks! > > Im gona take a shot: Can you run python and get a >>> prompt? If yes, what version is it? and what happens when you >>> import django Carl K

Re: installation issues

2007-07-10 Thread Russell Keith-Magee
On 7/11/07, surfwizz <[EMAIL PROTECTED]> wrote: > > When I went to the beginner lesson and tried to set up a project, it > reports that it cannot find the path that I am trying to use. > I don't know if this helps, but this is what the software is telling > me. No. It doesn't. Not even a little

Re: how to set language explicitly in multi-lingual site

2007-07-10 Thread Malcolm Tredinnick
On Tue, 2007-07-10 at 21:14 +0300, Amit Ramon wrote: > Hello, > > I'm working on a multi-lingual site. I'm using django-multilingual for > translating the content and I've set up a url scheme with a language code as > the first part of the url (e.g., "/en/pages/about/"), as I'd like users to

Re: Question about AddManipulator/ChangeManipulator

2007-07-10 Thread Nimrod A. Abing
On 7/11/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-07-10 at 02:40 +0800, Nimrod A. Abing wrote: > > Hello, > > > > I am currently in the process of porting one of my oldforms-based app > > to use newforms. I have some blocks of code that use > >

Re: psycopg2 and django issue.. (again)

2007-07-10 Thread Malcolm Tredinnick
On Tue, 2007-07-10 at 10:51 -0400, Etienne Robillard wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Hi all, > > I'm running into an issue using the latest psycopg2 module from svn. > Is there a way to have this module working with the latest django-trunk > and

Re: Urlresolvers issue ... side effect of named URL patterns ?

2007-07-10 Thread Malcolm Tredinnick
On Mon, 2007-07-09 at 15:20 -0700, xgdlm wrote: > Hello all, > > I just sync my django with the latest SVN version to try the Unicode > branch. Previously I was running Django 0.96pre. > I have now an issue with reverse url. > > Here is for exemple my urls.py > > urlpatterns = patterns('', >

Re: ForeignKey(User, list_display=full?

2007-07-10 Thread Carl Karsten
Russell Keith-Magee wrote: > On 7/11/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > >> I am hoping to do something like >> contact = models.ForeignKey(User, list_display = ('first_name', 'last_name') >> ) > > A big -1 on this idea. This mixes the data representation with the > display

Re: installation issues

2007-07-10 Thread surfwizz
When I went to the beginner lesson and tried to set up a project, it reports that it cannot find the path that I am trying to use. I don't know if this helps, but this is what the software is telling me. On Jul 9, 11:02 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On

Re: Question about AddManipulator/ChangeManipulator

2007-07-10 Thread Malcolm Tredinnick
On Tue, 2007-07-10 at 02:40 +0800, Nimrod A. Abing wrote: > Hello, > > I am currently in the process of porting one of my oldforms-based app > to use newforms. I have some blocks of code that use > AddManipulator/ChangeManipulator methods. My question is, when > oldforms is eventually removed,

Re: Parent / Child Categories and QuerySet filters

2007-07-10 Thread Malcolm Tredinnick
On Sun, 2007-07-08 at 20:16 +, Dan wrote: > This question may have been asked a thousand times, but I'm not sure > how to use the Parent/Child category database model given here: > http://code.djangoproject.com/wiki/CookBookCategoryDataModelPostMagic > > I have a model Item with category as

Re: Problem accessing ManyToManyField

2007-07-10 Thread Russell Keith-Magee
On 7/11/07, Shankar <[EMAIL PROTECTED]> wrote: > > > I tried the following inside the python interpreter. > :: > >>> entries[0].authors.all() > Traceback (most recent call last): The syntax you describe looks fine; I tried using your model with trunk ([5637]) and it worked fine for

Re: Dynamically created fields for a newform

2007-07-10 Thread Cole Tuininga
On 7/10/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > This includes some documentation of Select and SelectMultiple form > fields. The other possible source of documentation is the model_forms > model test, and the forms regression test, distributed in the test > directory of the Django

Re: Problem in current svn TRUNK

2007-07-10 Thread Russell Keith-Magee
On 7/10/07, Peter Nixon <[EMAIL PROTECTED]> wrote: > > How can I debug this in a way that will provide the developers with more > usefull info? The best way to help us debug this would be to produce a minimal example that replicates the problem - that is, a standalone example that is as small as

Re: Dynamically created fields for a newform

2007-07-10 Thread Russell Keith-Magee
On 7/11/07, Cole Tuininga <[EMAIL PROTECTED]> wrote: > > Hey all - I'm a newforms newbie running 0.96. I was just wondering if > there was a way to create fields for a newform dynamically. Some of > the fields are coming from a database and hence, could change when the > form is created. Yes.

Dynamically created fields for a newform

2007-07-10 Thread Cole Tuininga
Hey all - I'm a newforms newbie running 0.96. I was just wondering if there was a way to create fields for a newform dynamically. Some of the fields are coming from a database and hence, could change when the form is created. Also, is there any documentation on select boxes with newforms

Re: Hard-coded sting in IFEQUAL

2007-07-10 Thread Russell Keith-Magee
On 7/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > running .91 due to upgrade soon. For future reference, that would have been a very useful piece of data to provide with your original report. Django 0.91 is 18 months old - and a lot of very significant changes and bugfixes have been

Re: ForeignKey(User, list_display=full?

2007-07-10 Thread Russell Keith-Magee
On 7/11/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > I am hoping to do something like > contact = models.ForeignKey(User, list_display = ('first_name', 'last_name') ) A big -1 on this idea. This mixes the data representation with the display representation. One of the major reasons for the

Re: multiple inner joins in sql

2007-07-10 Thread Nathan Ostgard
On Jul 10, 2:58 pm, novice <[EMAIL PROTECTED]> wrote: > but I get error that the offers_offerprice.offerseller_id column > doesnt exist. I think you're missing an underscore. Your model has the field named offer_seller... shouldn't it then be offers_offerprice.offer_seller_id?

Re: Hard-coded sting in IFEQUAL

2007-07-10 Thread [EMAIL PROTECTED]
running .91 due to upgrade soon. On Jul 10, 11:27 am, Vincent Foley <[EMAIL PROTECTED]> wrote: > It works fine with me: > > >>> from django.template import Template, Context > >>> t = Template('''{% ifequal s "Some Thing" %}Equal{% else %}Not equal{% > >>> endifequal %}''') > >>>

Re: Problem in current svn TRUNK

2007-07-10 Thread Peter Nixon
On Tue 10 Jul 2007, Peter Nixon wrote: > Hi Guys > > There seems to be a problem in current SVN trunk that causes the > "Development server" to exit whenever I hit one of my views which access > the database. > > It doesnt do it with a 0.96 > It doesnt do it with a SVN snapshot from a couple of

Re: saving many2many relations

2007-07-10 Thread Collin Grady
A ManyToManyField is not a list to be replaced - add the new tags directly to etiquetas using the .add() method on it. On Jul 10, 9:34 am, zenx <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to get a list of tags separated by a comma and be able to > save them as related objects for the

Problem accessing ManyToManyField

2007-07-10 Thread Shankar
Hi all, I'm a Django newbie and am trying to write a simple blog application. So far I've been able to define the initial models and add sample blog posts using the Django admin interface. Now I'm trying to build the views/templates. I'm having trouble displaying the 'authors' ManyToManyField

Re: MySQLdb rpm for CENTOS 5

2007-07-10 Thread Dennis Allison
Download the the source from sourceforge, untar it, and then install it using python setup.py. Be sure you use the python you use for django. On Tue, 10 Jul 2007, Sells, Fred wrote: > > I'm trying to port my django demo to Apache/mod_python on a CENTOS 5 linux > 32bit machine. > > I'm

Re: Generating graphs from db data and displaying results using Django?

2007-07-10 Thread gwhit
Look at http://www.nullcube.com/software/pygdchart2.html Or can also go a javascript route check out http://www.reach1to1.com/sandbox/jquery/jqchart/ On Jul 10, 6:03 pm, Chris Rich <[EMAIL PROTECTED]> wrote: > Hey all, > So, I'm a beginner here with Django/webdesign/database stuff/all the >

Generating graphs from db data and displaying results using Django?

2007-07-10 Thread Chris Rich
Hey all, So, I'm a beginner here with Django/webdesign/database stuff/all the rest of it and I may be getting ahead of myself. I am currently getting my feet wet in the Django environment, but I eventually want to graph/calculate averages on some of the values in my database. I would like to

multiple inner joins in sql

2007-07-10 Thread novice
Hi all, I have these questions regarding some sql queries which I was able to do in msacess but i wasnot with django which is using mysql database...sorry for the length mail, but i am just trying to make the question as clear as possible... I have a table structure something like this: which

Re: Django Trigger

2007-07-10 Thread RajeshD
> > I currently have "Service_1_Profile.client" set as a foreign key to > "Client", and I am creating the profiles manually. Any suggestions on > how to automate this in accordance with steps 1-5? Here's a thought: 1. You can leave Service_1_Profile.client and add distinct=True to it's

Re: Session Management without a DB

2007-07-10 Thread Tim Chase
> I am trying to run a django + fastcgi + lighttpd setup. I would like > to avoid a database as much as possible. > > I would like to know if django supports session management with data > stored in RAM or file instead of only a database. Without knowing *why* you would "like to avoid a

Re: Tests fail on redirects when admin urls enabled

2007-07-10 Thread Michael
Just for the record, the problem is to do with the use of _() for i18n within the admin app which was meant to alias to gettext(), but wasn't always. Even though you arn't testing the admin app, when you usy {% url %} in a template, it has to check through views in the admin app. See

Re: ForeignKey(User, list_display=full?

2007-07-10 Thread Nathan Ostgard
ForeignKey fields use the Field.get_choices() method to build a list of options. Perhaps you could subclass the ForeignKey field and customize the method? On Jul 10, 10:30 am, Carl Karsten <[EMAIL PROTECTED]> wrote: > I am using the django User like so: > > # models.py > from

Re: Problem when filling the options of a Choice Field with information from the database

2007-07-10 Thread Nathan Ostgard
This looks like a foreign key relationship (probably should be if it's not). Use ModelChoiceField instead of ChoiceField. I haven't used it manually in a form before, but try this: instrument = ModelChoiceField(queryset=Instrument.objects.all(), cache_choices=False, required=False) Note that

Re: loading xml through javascript

2007-07-10 Thread tyman26
Thanks for the advice, I added the information to the session and can now access it through the xml page. This doesn't seem like the best way to do this, but it works. Is this type of coding bad practice? On Jul 9, 5:47 pm, Collin Grady <[EMAIL PROTECTED]> wrote: > Unless the object supports

MySQLdb rpm for CENTOS 5

2007-07-10 Thread Sells, Fred
I'm trying to port my django demo to Apache/mod_python on a CENTOS 5 linux 32bit machine. I'm getting an error message that I need MySQLdb 1.2.1p2 or newer and have only 1.2.1 I've tried googling for an rpm with no success, anyone no where I can find one. My sysadmin dude is out this week, so

Session Management without a DB

2007-07-10 Thread Bharat Nadimpalli
Hi, I am trying to run a django + fastcgi + lighttpd setup. I would like to avoid a database as much as possible. I would like to know if django supports session management with data stored in RAM or file instead of only a database. Any pointers ? Thank you. Bharat Varma

how to set language explicitly in multi-lingual site

2007-07-10 Thread Amit Ramon
Hello, I'm working on a multi-lingual site. I'm using django-multilingual for translating the content and I've set up a url scheme with a language code as the first part of the url (e.g., "/en/pages/about/"), as I'd like users to explicitly select their language. I'm also using django's

ForeignKey(User, list_display=full?

2007-07-10 Thread Carl Karsten
I am using the django User like so: # models.py from django.contrib.auth.models import User class Event(models.Model): title = models.CharField(maxlength=47) eventdate = models.DateField() contact = models.ForeignKey(User, null=True, blank=True ) right now I get this in admin:

Re: Tests fail on redirects when admin urls enabled

2007-07-10 Thread Rand Bradley
The Unicode branch merge seems to have corrected the problem. On 6/26/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 6/26/07, Rand Bradley <[EMAIL PROTECTED]> wrote: > > This is occurring wherever I test a redirect. If I comment out the admin > > line in urls.py , the errors

Web Framework Shootout

2007-07-10 Thread Nimrod A. Abing
I was looking around the Net for an objective comparison between the different frameworks (actually looking for objective comparison between Django and RoR) available out there. I found this one and I thought it would be good to share:

saving many2many relations

2007-07-10 Thread zenx
Hi, I would like to get a list of tags separated by a comma and be able to save them as related objects for the current object. Currently I have this code. When saving a Receta object it creates the tags objects if they doesn't exist yet and it should save the relations between Tags and Receta,

Re: request

2007-07-10 Thread Joseph Heck
Hi Sreelatha, When you say "send a messae to multiple users", do you mean display a message on your site to a set of users? There's a couple of different ways to attack this kind of problem - but the easiest is to have a view that queries a storage place (likely a model) and displays any

Re: about django-admin settings

2007-07-10 Thread jujian
Thanks! moving project to d:\python25\lib\site-packages worked. I find out that I just confused PYTHONPATH with sys.path use the command below worked too... set PYTHONPATH=d:\order set DJANGO_SETTINGS_MODULE=newtest.settings

RE: newbie django vs. djangoamf

2007-07-10 Thread Sells, Fred
thanks, that gives me the info I need. > -Original Message- > From: django-users@googlegroups.com > [mailto:[EMAIL PROTECTED] Behalf Of Al Abut > Sent: Tuesday, July 10, 2007 11:16 AM > To: Django users > Subject: Re: newbie django vs. djangoamf [heur] > Importance: Low > > > >

Re: Hard-coded sting in IFEQUAL

2007-07-10 Thread Vincent Foley
It works fine with me: >>> from django.template import Template, Context >>> t = Template('''{% ifequal s "Some Thing" %}Equal{% else %}Not equal{% >>> endifequal %}''') >>> t.render(Context({'s': 'foo'})) 'Not equal' >>> t.render(Context({'s': 'Some Thing'})) 'Equal' What version of Django

Re: newbie django vs. djangoamf

2007-07-10 Thread Al Abut
Correct me if I'm wrong but from what I understand, it's an open source approximation of flash remoting. If you're not familiar with what that is, there's basically two ways to get data into a flash app - either xml or or a binary file format that's served up by adobe's server-side software

Re: psycopg2 and django issue.. (again)

2007-07-10 Thread erob
I can confirm that this bug is still happening in both django-trunk and 5528: Here's the traceback message when using django 5528: [36450] conn_notice_callback: NOTICE: CREATE TABLE / PRIMARY KEY will create im plicit index "auth_group_permissions_pkey" for table "auth_group_permissions"

Re: about django-admin settings

2007-07-10 Thread [EMAIL PROTECTED]
Have you tried setting the PATH using Windows's Control Panel -> System -> Advanced -> Environment Variables? You can edit the PATH variable and add your project's directory to that variable, which may help. If not, you could just move your project to d:\python25\lib\site- packages. Derek On

Re: effective dates

2007-07-10 Thread Carl Karsten
Tim Chase wrote: >> status.effectivedate is when a status 'starts', (like closed for repairs.) >> How do I get the 'current status based on current date' ? >> >> so if the following 3 records are in the table: >> status >> effective date, description >> 1/1/2007 - open for business >> 3/24/2007 -

Django Trigger

2007-07-10 Thread kevinski
Here is my situation: 1. I have a model "Client", with a boolean attribute "service_1" 2. I also have a model "Service_1_Profile" 3. When "Client.service_1" is set to on, I want a corresponding "Service_1_Profile" to be created. 4. When "Client.service_1" is set to off, I want the corresponding

Re: about django-admin settings

2007-07-10 Thread jujian
still does not work ... I have set the environment variable PYTHONPATH to the parent directory of the mysite. ... raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e) environmentError: Could not import

Re: newforms MultipleChoiceField caches the first data

2007-07-10 Thread James Bennett
On 7/10/07, Mambaragi <[EMAIL PROTECTED]> wrote: > I tried the following in a Form class ... > > ]def __init__(self, **kwargs): > ]super(IssueFilterForm, self).__init__(**kwargs) > ]self.assigned_to.choices = [(assignee.id, assignee.nickname) > for assignee > ]

Problem in current svn TRUNK

2007-07-10 Thread Peter Nixon
Hi Guys There seems to be a problem in current SVN trunk that causes the "Development server" to exit whenever I hit one of my views which access the database. It doesnt do it with a 0.96 It doesnt do it with a SVN snapshot from a couple of weeks ago. It doesnt do it with the current SVN

Re: TestCase, Client() and Exception

2007-07-10 Thread James Bennett
On 7/10/07, Mambaragi <[EMAIL PROTECTED]> wrote: > As you see, I view function raises an exception, the exception is > always regarded as "TemplateDoesNotExist". > So I have to change the test case to... > > ] client = Client() > ] self.assertRaises(TemplateDoesNotExist, client.get, "/user/ >

Re: newbie django vs. djangoamf

2007-07-10 Thread Sam
>From this URL http://djangoamf.sourceforge.jp/index.php?DjangoAMF_en : Django AMF is a Middleware for Django web framework written in Python. It enables Flash/Flex applications to invoke Django's view functions using AMF(Action Message Format). A MiddleWare is a piece of code that is hooked in

Re: effective dates

2007-07-10 Thread Tim Chase
> status.effectivedate is when a status 'starts', (like closed for repairs.) > How do I get the 'current status based on current date' ? > > so if the following 3 records are in the table: > status > effective date, description > 1/1/2007 - open for business > 3/24/2007 - closed for remodeling >

Re: TestCase, Client() and Exception

2007-07-10 Thread Russell Keith-Magee
On 7/10/07, Mambaragi <[EMAIL PROTECTED]> wrote: > > ] client = Client() > ] self.assertRaises(TemplateDoesNotExist, client.get, "/user/ > preferences/") > > Is is a bug or my mistake?? It's a mistake on your part. assertRaises isn't a very effective test for the test Client, because web

Re: newforms MultipleChoiceField caches the first data

2007-07-10 Thread Mambaragi
Thank you for the quick answer. > > as you see, choices are dynamically generated. Actually, I meant -> as you see, "I expected" choices to be generated dynamically. I made a lot of mistakes because of my poor English. anyway... > remains in memory. What you want instead is to use a

newbie django vs. djangoamf

2007-07-10 Thread Sells, Fred
I'm a Pythonista, but new to django. I am building my first Flex app. Using Flex 3.0Beta. This is a rewrite of an Ajax prototype built with dojotoolkit. I have completed the flex side, using static url's that point to xml files with expected responses. When I google 'flex python' I get alot

TestCase, Client() and Exception

2007-07-10 Thread Mambaragi
Hello, I use django 0.96 and Python 2.5 the following is one of the view functions. I set this function always raises an LoginRequiredException. ] def preferences(req): ] raise LoginRequiredException, "please, log in" and the test case. ] client = Client() ]

effective dates

2007-07-10 Thread Carl Karsten
status.effectivedate is when a status 'starts', (like closed for repairs.) How do I get the 'current status based on current date' ? so if the following 3 records are in the table: status effective date, description 1/1/2007 - open for business 3/24/2007 - closed for remodeling 5/1/2007 - open

Re: never_cache

2007-07-10 Thread James Bennett
On 7/10/07, Mason <[EMAIL PROTECTED]> wrote: > Hello, I'm a newbie to Dajngo (using version 0.96). I am trying to > keep a particular web page from being cached, ie. I don't want the > user to be able to hit the "Back" button on the browser and use the > previous page to resubmit data to the

Problem when filling the options of a Choice Field with information from the database

2007-07-10 Thread AnaReis
Hi, I have a form on my project which has a drop down list with several options that are loaded from a table in a database. The code is this: class ProductForm(forms.Form): instrument_Name=ChoiceField(required=False, choices=[(i.instrument_name,i.instrument_name) for i in

Re: function to generate choices list

2007-07-10 Thread David Reynolds
Aidas, On 8 Jul 2007, at 3:51 pm, Aidas Bendoraitis wrote: I think, the problem would be solved if you assigned a class overriding list instead of a preformed list to the choices. Check XFieldList for a living example: http://www.djangosnippets.org/snippets/51/ Thanks for your suggestion.

newforms MultipleChoiceField caches the first data

2007-07-10 Thread Mambaragi
I use newforms for dynamic form. Here's one of the fields. assigned_to = forms.MultipleChoiceField(label='담당자', required=False, widget=forms.CheckboxSelectMultiple, choices=[(assignee.id, assignee.nickname) for assignee

Re: No module named _md5

2007-07-10 Thread Graham Dumpleton
On Jul 10, 3:36 pm, e-gor <[EMAIL PROTECTED]> wrote: > Rebuilding apache doesn't help > > # python > Python 2.5.1 (r251:54863, Jun 28 2007, 13:12:40) > [GCC 3.4.6 [FreeBSD] 20060305] on freebsd6 > Type "help", "copyright", "credits" or "license" for more information.>>> > import md5 > >>> import

Hard-coded sting in IFEQUAL

2007-07-10 Thread [EMAIL PROTECTED]
I don't see why this {% ifequal theclass "Some Thing" %} throws a TemplateSyntaxError " 'ifequal' takes two arguments " while this {% ifequal theclass "SomeThing" %} does not? Any clarity would be welcomed. Best --~--~-~--~~~---~--~~ You received this

Re: forms and designers

2007-07-10 Thread Nathan Ostgard
On Jul 8, 8:36 pm, Al Abut <[EMAIL PROTECTED]> wrote: > Nathan, thanks for those tips and that looks like a smart way to > attach js triggers and classes for css. What about all the other stuff > I could do to an html element though, like specify its initial value? > Or do I draw the line there

Re: forms and designers

2007-07-10 Thread Al Abut
Thanks John, that looks really promising and could be exactly what I was asking for. I have to admit to still being so new to django that I haven't played with templatetags or filters yet, so this is good motivation to do more homework. On Jul 8, 9:52 pm, "John Shaffer" <[EMAIL PROTECTED]>

Re: Beginner's question (take two)

2007-07-10 Thread patrick k.
there was a discussion about this issue a while ago - adrian said that he wants to add the possibility to translate app_names (don´t know if this feature has been added though). changing index.html is a rather uncomfortable solution from my point of view. thanks, patrick Am 10.07.2007 um

Re: data truncation: web page field input vs direct manipulation

2007-07-10 Thread Horst Gutmann
qhfgva wrote: > Every time I think I understand string encoding I get reminded that I > don't. > > I have a simple form where I can cut and paste in a value with an > "interesting" character in it (e.g. "Foo(r)" - in case that doesn't come > thru that's "F" "o" "o" followed by a registered

Re: Ticket #399 (Bigint field object needed) status

2007-07-10 Thread Peter Nixon
I have attached my first try at a django patch (based of course on the patches in the tracker). It adds support for BigIntegerField (but not PositiveBigIntegerField) and should work on MSSQL, Oracle, MySQL, SQLite and Postgresql. Can everyone please have a look at this and see if I have made

Re: Django Book Ch3 error

2007-07-10 Thread SM
Hmmm. As a last resort I replaced the SVN (0.97) version of Django with the 0.96 version and now it seems to work fine. Very strange, but I'm relieved to have 'fixed' it. On Jul 9, 11:20 pm, SM <[EMAIL PROTECTED]> wrote: > I hope someone can help me. I'm getting the following AttributeError >

Django Book Ch3 error

2007-07-10 Thread SM
I hope someone can help me. I'm getting the following AttributeError when I try to do the 'current_datetime' example in the Django Book, chapter 3. I'm using the SVN (0.97) version of Django. It's driving me crazy that I can't get such a simple thing to work! --- BEGIN ERROR PAGE ---

request

2007-07-10 Thread sreelatha
Hi, I am Sreelatha I have struck up at one place please help me out. The problem is I want to send a single message to multiple users but I dont want to save the message to all the users which is a hectic work. I s there any way to solve this problem.

Are You Struggling To Make Money Online?

2007-07-10 Thread chodee
Are You Struggling To Make Money Online? Do you wish there was an easier way to make money online? Of course we all do. But while there are dozens of ways to make money online, still 95% of those starting up internet businesses fail. One of the easiest ways to make money online is selling

data truncation: web page field input vs direct manipulation

2007-07-10 Thread qhfgva
Every time I think I understand string encoding I get reminded that I don't. I have a simple form where I can cut and paste in a value with an "interesting" character in it (e.g. "Foo(r)" - in case that doesn't come thru that's "F" "o" "o" followed by a registered trademark symbol). It gets

Re: installation issues

2007-07-10 Thread Russell Keith-Magee
On 7/10/07, surfwizz <[EMAIL PROTECTED]> wrote: > > I had trouble running the install as per the instructions (using > terminal), so I just ran setup.py in IDLE as a module. Is there a way > to fix this, or get this install running properly? I don't know how to put this more clearly. Django