Re: syncdb custom sql containing a create function (pgsql backend)

2008-06-26 Thread [EMAIL PROTECTED]
Hi Malcolm, thanks for clearing it up. On Jun 26, 2:08 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2008-06-25 at 08:49 -0700, [EMAIL PROTECTED] wrote: > > Hi all, > > > on a custom SQL file I have a CREATE FUNCTION statement but > > apparently, wh

Re: How do I save records when using two forms joined by a foreign key?

2008-06-25 Thread [EMAIL PROTECTED]
25, 5:04 pm, Huuuze <[EMAIL PROTECTED]> wrote: > For the sake of argument, I have two models:  Book and Author.  Book > has many fields and has a foreign key relationship with Author. > Author has two fields and no additional relationships.  To stay DRY, I > have BookForm and

Re: python-admin.py startproject error

2008-06-25 Thread [EMAIL PROTECTED]
Thanks for the help guys. On Jun 25, 12:58 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > >>>> import django > >>>> django-admin.py startproject mkgps > > File "", line 1 > > django-admin.py startproject mkgps > >

python-admin.py startproject error

2008-06-25 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Creating test database with a complete SQL script

2008-06-25 Thread [EMAIL PROTECTED]
be also possible to use said legacy database for testing, ie. create an x_test database and force Django to use it, instead of having it bailing out because it cannot drop the test database. On Jun 25, 5:06 pm, phillc <[EMAIL PROTECTED]> wrote: > i think i understand what youre saying? &g

Re: psycopg2

2008-06-25 Thread [EMAIL PROTECTED]
Why not put it up on Google Code? It's SVN so importing should be a breeze (if not, I'm sure the Google guys would be glad to lend a hand), you have a Wiki and a Bug tracker also. Just my 2c On Jun 24, 7:09 pm, Federico Di Gregorio <[EMAIL PROTECTED]> wrote: > Just to shed a bit

Creating test database with a complete SQL script

2008-06-25 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

syncdb custom sql containing a create function (pgsql backend)

2008-06-25 Thread [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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this grou

Re: How to get ManyTomManyField‘s value?

2008-06-24 Thread [EMAIL PROTECTED]
object saved ??? --~--~-~--~~~---~--~~ 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 [EMAIL

How to get ManyTomManyField‘s value?

2008-06-24 Thread [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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mo

Re: dynamic value of a ModelChoiceField

2008-06-24 Thread [EMAIL PROTECTED]
thanks v sergeyev. the above suggestion worked.. the initial dictionary was expecting the "recipe.cooking_method.id" value..wonder why just the "recipe.cooking_method" wouldnt work ? thnx, -p On Jun 24, 10:13 am, "V.Sergeyev" <[EMAIL PROTECTED]> wrote: &

Damn unicode error

2008-06-24 Thread [EMAIL PROTECTED]
deEncodeError: 'ascii' codec can't encode character u'\xb4' in position 21: ordinal not in range(128) --~--~-~--~~~---~--~~ 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@googl

Re: Automatic Update of template

2008-06-24 Thread [EMAIL PROTECTED]
, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Jun 21, 2008 at 9:13 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > > > Let me give more details.. > > > I am trying to write a web-based multi-protocol client. Ther

Re: dynamic value of a ModelChoiceField

2008-06-23 Thread [EMAIL PROTECTED]
thanks rishabh, i tried that -- it doesnt display the 'selected' cooking method for the recipe. shows the value corresponding to empty_label. thnx, -p On Jun 24, 12:23 am, "Rishabh Manocha" <[EMAIL PROTECTED]> wrote: > You're probably looking > forhttp://www.djangopro

Re: dynamic value of a ModelChoiceField

2008-06-23 Thread [EMAIL PROTECTED]
losing my mind over this. thanks in advance. On Jun 22, 11:15 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > In a form, I have a field defined asModelChoiceField > > class myForm(forms.Form) >   myfield = forms.ModelChoiceField(MyClass.objects.all()) >  my

Re: User Profile in Admin interface (using trunk)

2008-06-23 Thread [EMAIL PROTECTED]
Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: sending large downloads

2008-06-23 Thread [EMAIL PROTECTED]
Russell, #2070 refers to uploads, not downloads. On Jun 23, 5:38 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 24, 2008 at 1:42 AM, msoulier <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I saw some posts on this but not many useful

Passing a Custom Form to a Generic View

2008-06-23 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

dynamic value of a ModelChoiceField

2008-06-22 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Ticket: Doc error on reverse()

2008-06-22 Thread [EMAIL PROTECTED]
t; i.e., all args are required (Latest Django trunk from SVN). > > * * * --~--~-~--~~~---~--~~ 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,

Complex URLs and numerous GET variables

2008-06-22 Thread [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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this grou

Re: Automatic Update of template

2008-06-21 Thread [EMAIL PROTECTED]
Thanks a lot -Priyank On Jun 20, 7:55 am, "Norman Harman" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, > > > I am writing a web based chat client in Django framework. When ever I > > receive a message, I get that in a python function wh

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
That clears everything. Thanks a lot. -Priyank On Jun 21, 4:46 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Jun 21, 2008 at 7:36 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > Atlast, I found the bug, login.html inherits

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
Atlast, I found the bug, login.html inherits from base page. So, the form mentioned in the above code is nested inside a GET form. Now I get one doubt. Can't we nest the forms? Does nesting of forms make sense in any context? On Jun 21, 4:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROT

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
, 4:06 pm, Jeff FW <[EMAIL PROTECTED]> wrote: > Looks like you forgot a return statement in the if statement.  Not > sure if that would cause what you're seeing, but it certainly couldn't > help. > > -Jeff > > On Jun 21, 6:46 pm, "[EMAIL PROTECTED]" <[E

Re: method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
21, 3:41 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I am having problems with POST. I am aware of this newbie > mistakehttp://code.djangoproject.com/wiki/NewbieMistakes#POSTtoviewslosesPOS... &

method="POST" form problems. Help required

2008-06-21 Thread [EMAIL PROTECTED]
users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Thanks!!!!!!!!!!!!!!!!!

2008-06-20 Thread [EMAIL PROTECTED]
http://www.djangoproject.com/documentation/contributing/ On Jun 20, 10:39 am, "Juan Hernandez" <[EMAIL PROTECTED]> wrote: > what is the best way to contribute to the project?? > > It's karma! you have to return somehow what you get :) > > On Sat, Jun 21, 2008 at

Automatic Update of template

2008-06-19 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Models advice

2008-06-19 Thread [EMAIL PROTECTED]
I haven't looked through it fully, however you don't need to create the primary keys, they are automatically created. On Jun 19, 8:38 pm, joshuajonah <[EMAIL PROTECTED]> wrote: > I am making a database of advertisers, product categories, products > (advertiser+product category

Re: What am I doing that is sooo wrong with newforms??

2008-06-16 Thread [EMAIL PROTECTED]
Whoops, good call Fernando. On Jun 16, 6:04 pm, Fernando Gutierrez <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > You can't assign to the form so your code should look like: > > > if form.is_valid(): > >     c = form.save(commit=False) > >     c.use

Re: What am I doing that is sooo wrong with newforms??

2008-06-16 Thread [EMAIL PROTECTED]
t; <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 6:49 PM, Richard Green <[EMAIL PROTECTED]> > wrote: > > > > > > > Hi there - has anybody got a simple example of a newform that has a > > few fields that are not edited by the user - a simple

admin-like list views

2008-06-16 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: variable number of fields in form

2008-06-16 Thread [EMAIL PROTECTED]
Perhaps this can help: http://collingrady.wordpress.com/2008/02/18/editing-multiple-objects-in-django-with-newforms/ On Jun 16, 9:42 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 9:41 AM, Jim <[EMAIL PROTECTED]> wrote: > > > Hello, >

Re: Form Validation for GET Request

2008-06-14 Thread [EMAIL PROTECTED]
roup. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Handling unknown data

2008-06-13 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: more info when serializing

2008-06-13 Thread [EMAIL PROTECTED]
7, 5:02 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 18 Nov, 11:25, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 2007-11-17 at 16:21 -0500, Bryan L. Fordham wrote: > > > So, say I have a model something like this: > >

Re: xml serialization with nested models

2008-06-13 Thread [EMAIL PROTECTED]
m, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On May 6, 11:14 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: > > > > > On Tue, May 6, 2008 at 8:52 AM, Explore <[EMAIL PROTECTED]> wrote: > > > > Hi. I have been tr

Handling unknown data

2008-06-12 Thread [EMAIL PROTECTED]
uggestions? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more optio

Re: Odd caching/header error

2008-06-12 Thread [EMAIL PROTECTED]
send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Odd caching/header error

2008-06-12 Thread [EMAIL PROTECTED]
ers" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: best solution for different address formats?

2008-06-12 Thread [EMAIL PROTECTED]
Hi, thank you very much for your help! I have to distinguish between the single fields, so I used the later solution. - chris On 11 Jun., 22:20, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > Do you need to do anything special with the fields of these addresses? > For exa

Re: Possibly very dumb questions about accessing object in template.

2008-06-11 Thread [EMAIL PROTECTED]
On Jun 11, 1:43 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > It might help to answer this question if you show us the actual view > and models that are producing this dictionary. I'm building the dict in the view like this: itemx = {}

best solution for different address formats?

2008-06-11 Thread [EMAIL PROTECTED]
, Chris --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

Re: Painfully slow... why?

2008-06-11 Thread [EMAIL PROTECTED]
On Jun 10, 7:58 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > That'll do it (and IIRC it's covered in the deployment docs). Could be. I was relying on Webfaction's default install, which does not set it to Off. --~--~-~--~~~---~--~~ You re

Possibly very dumb questions about accessing object in template.

2008-06-11 Thread [EMAIL PROTECTED]
this is something simple. --~--~-~--~~~---~--~~ 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 [EMAIL

Re: Form Validation

2008-06-10 Thread [EMAIL PROTECTED]
on a modelform you can do: form.save(commit=False), which will return an instance of the model, but doesn't save it to the db, so you can just assign request.user to owner and than save it. On Jun 11, 12:07 am, Adi <[EMAIL PROTECTED]> wrote: > I guess... the more deeper question is..

Re: Painfully slow... why?

2008-06-10 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/djang

Re: Problem with login()

2008-06-09 Thread [EMAIL PROTECTED]
And caching On Jun 9, 2:02 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > Check if your cookies are enabled. > > On 9 июн, 22:47, bcrem <[EMAIL PROTECTED]> wrote: > > > Sorry, get_user(request) was a blind alley; I'm actually using 'user = > > request.u

Re: Problem with login()

2008-06-09 Thread [EMAIL PROTECTED]
roup, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Painfully slow... why?

2008-06-09 Thread [EMAIL PROTECTED]
; group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Painfully slow... why?

2008-06-09 Thread [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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit

Re: custom action during "insert" but not during "update"

2008-06-07 Thread [EMAIL PROTECTED]
If you overide model.save() just check for self.pk to be set. On Jun 7, 11:19 pm, chefsmart <[EMAIL PROTECTED]> wrote: > Hi All, > > I need some insight on the following scenario: > > I want to execute some custom action when creating new model instances > when calling m

Re: MySQL Lib

2008-06-07 Thread [EMAIL PROTECTED]
: PATH="${PATH}:/usr/local/mysql/bin" PATH="${PATH}:/django_trunk/django/bin" alias mysql='/usr/local/mysql/bin/mysql' alias mysql_config='/usr/local/mysql/bin/mysql_config' On Jun 7, 2008, at 3:19 PM, [EMAIL PROTECTED] wrote: > > I'm following the online Django install d

Re: Help - m2m field in my model

2008-06-07 Thread [EMAIL PROTECTED]
The point for those "magic methods" in python is to provide a common api to them, it's the same reason you do len(sequence) instead of sequence.__len__(), or the reason we do 3 + 4 instead of 3.__add__(4). On Jun 7, 2:42 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote:

Re: Help - m2m field in my model

2008-06-06 Thread [EMAIL PROTECTED]
Don't use the internal method, instead do unicode(self.location_type) + ' - ' On Jun 6, 9:27 pm, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Rajesh Dhawan wrote: > > >> My model : > > >> class phonenumber(models.Model): > >>

Re: Suggestions on resolving broken link errors for free comment app

2008-06-06 Thread [EMAIL PROTECTED]
OK. I just wonder if anyone else has this issue. Free comments seem to be pretty widely used on the Django blogs I've seen. On Jun 5, 9:20 pm, Gregor Müllegger <[EMAIL PROTECTED]> wrote: > This is because the django.contrib.comments app still uses hardcoded > links in its code.

Re: ORM question

2008-06-06 Thread [EMAIL PROTECTED]
Managers are never iterables, for example you can't do: for model in Model.objects: so you would do: for model in Model.objects.all(): the same concept applies to related managers. On Jun 6, 6:57 pm, "Dan W." <[EMAIL PROTECTED]> wrote: > I'm pretty new to django

Re: Caching question

2008-06-06 Thread [EMAIL PROTECTED]
bed 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Caching question

2008-06-05 Thread [EMAIL PROTECTED]
On Jun 5, 6:22 pm, Peter Rowell <[EMAIL PROTECTED]> wrote: > > does per-view or template fragment caching override that? > > From looking at django/middleware/cache.py, I would say that the view > (and therefore the template) never get a chance to override. This

Suggestions on resolving broken link errors for free comment app

2008-06-05 Thread [EMAIL PROTECTED]
p. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: MySQL and ë, û, á, etc.

2008-06-05 Thread [EMAIL PROTECTED]
What version of django are you using? On Jun 5, 5:06 pm, eelcoh <[EMAIL PROTECTED]> wrote: > Hi, > > I have a new problem wit mysql and the character set, especially wit > the use of the trema (umlaut, diaeresis, whatever) and other special > characters. The strange thing

Re: Can Someone Do something about ALL THIS SPAM

2008-06-05 Thread [EMAIL PROTECTED]
se 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Url Patterns IE problem

2008-06-05 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google

Re: Better Query Set Use

2008-06-04 Thread [EMAIL PROTECTED]
('games_date', 'start_time') On Jun 4, 10:55 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > Hi there. Long-time PHP developer now getting into Python and Django. > > I'm using the latest version of Django from SVN and are building a query > that does the following: >

TEMPLATE_CONTEXT_PROCESSORS and request context in django.contrib.auth.views

2008-06-04 Thread [EMAIL PROTECTED]
roup, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: sorting inspectdb output

2008-06-03 Thread [EMAIL PROTECTED]
I don't think there is an option for that.. On Jun 3, 3:16 pm, Vidja <[EMAIL PROTECTED]> wrote: > Thanks Carole, > > Didn't know this option. Is there a way to tell inspectdb to do that? > Would be a nice option. For now I will just change the file. > > VidJa >

Re: appengine and django default filters

2008-06-03 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: sorting inspectdb output

2008-06-02 Thread [EMAIL PROTECTED]
the quotes around the name class Table2(models.Model): table2_id = models.AutoField(primary_key=True) On May 30, 4:24 pm, Vidja <[EMAIL PROTECTED]> wrote: > I'm using manage inspectdb to get an initial list of models for my > database. The only thing is that I'm spending a lot of

recommended tagging app?

2008-06-01 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: admin documentation field description

2008-06-01 Thread [EMAIL PROTECTED]
Try using the help_text= in your models.py: title = models.CharField(max_length=100,help_text="Your Next Action") see: http://www.djangoproject.com/documentation/model-api/#help-text best, alan On Jun 1, 8:53 am, Mihai Damian <[EMAIL PROTECTED]> wrote: > In the admin

Re: Django Documentation. License?

2008-06-01 Thread [EMAIL PROTECTED]
Alan is correct, the docs are definitely under the same license as the source, BSD. On Jun 1, 10:46 am, Alan Boyce <[EMAIL PROTECTED]> wrote: > Nick, > > Because the documentation is distributed with the source, see: > > http://code.djangoproject.com/browser/django/trun

Re: Silly question on models

2008-05-31 Thread [EMAIL PROTECTED]
ubmissions. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http

Clean up and maintenance

2008-05-30 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/djang

Re: Users getting logged out/cookie issues?

2008-05-30 Thread [EMAIL PROTECTED]
rassrootsmotorsports.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

Users getting logged out/cookie issues?

2008-05-30 Thread [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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.goo

Re: How to get child model' name from parent obj in Multi-table inheritance

2008-05-30 Thread [EMAIL PROTECTED]
Guess and test using try; except; statements. Alternatively, you could add a type field to Person() and overide the save fields on Man and Woman to set the type field correctly. On May 30, 1:38 am, "Davide.D" <[EMAIL PROTECTED]> wrote: > Simplify the question: > >

Re: Use variables inside an 'include' tag (and/or: how to set a variable in a template)

2008-05-28 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Django Installation Issue on Shared Hositng

2008-05-28 Thread [EMAIL PROTECTED]
Hi On May 28, 3:08 am, A <[EMAIL PROTECTED]> wrote: > I am have some issues setting up Django on shared web hosting. I have > searched around and tried a few fixes as posted to no avail. Linux > hosting environment. I get the following error message: > > Traceback (

Re: Authenticated user from models.py

2008-05-23 Thread [EMAIL PROTECTED]
We have groups and permissions because the User model is meant for all users, not just trusted users. On May 23, 3:49 pm, "Patrick J. Anderson" <[EMAIL PROTECTED]> wrote: > On Thu, 22 May 2008 09:32:40 -0700, jonknee wrote: > > On May 21, 9:33 pm, "James Benn

Re: Django search engines

2008-05-23 Thread [EMAIL PROTECTED]
send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How do I pass a value to a javascript function? (ie. lat and lng values to Google Maps)

2008-05-23 Thread [EMAIL PROTECTED]
On May 23, 12:31 pm, jeffself <[EMAIL PROTECTED]> wrote:  What > do I need to do to pass the values that are stored in my table to the > javascript? > I think you just want something like: {% for p in precinct_list %} point = new GLatLng({{p.precinct_lat}},

Re: item "of the day"?

2008-05-23 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: item "of the day"?

2008-05-23 Thread [EMAIL PROTECTED]
roup, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: item "of the day"?

2008-05-23 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Authenticated user from models.py

2008-05-22 Thread [EMAIL PROTECTED]
be from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: File Upload with form_for_model

2008-05-22 Thread [EMAIL PROTECTED]
cleaned_data doesn't get populated until is_valid() is called on the form, the save method will be trying to access the cleaned_data fields so that is likely what's causing the problems. - Andrew Ingram On May 22, 9:11 pm, jabbercat <[EMAIL PROTECTED]> wrote: > Hello, > > I want

Re: Merging (threaded) FreeComments with Comments

2008-05-22 Thread [EMAIL PROTECTED]
edcomments to allow for using both anonymous and user comments in one object/table. Shouldn't be too hard, but it's always good not to have to break things :) Cheers, michuk On May 21, 11:39 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > There is currently work to do this,

Re: item "of the day"?

2008-05-22 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: item "of the day"?

2008-05-22 Thread [EMAIL PROTECTED]
On May 22, 12:11 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > > I don't know if this is the "right" direction but I've had success using >   memcached to implement of the day items. > > If the item is in the cache it gets served.  Otherwise I

item "of the day"?

2008-05-22 Thread [EMAIL PROTECTED]
in the right direction? Thanks. --~--~-~--~~~---~--~~ 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

Re: Authenticated user from models.py

2008-05-21 Thread [EMAIL PROTECTED]
Make user a parameter on the new save method and pass it to the save method wherever you call save in your views. On May 21, 6:58 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > I can access the request from my views, but how can I acces the > request from models.p

Re: Merging (threaded) FreeComments with Comments

2008-05-21 Thread [EMAIL PROTECTED]
There is currently work to do this, as well as other improvements to contrib.comments, as a part of GSOC, you can see all the work here: http://code.google.com/p/django-newcomments/ On May 21, 5:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I've been lo

Merging (threaded) FreeComments with Comments

2008-05-21 Thread [EMAIL PROTECTED]
to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Memcached problem

2008-05-20 Thread [EMAIL PROTECTED]
to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Memcached problem

2008-05-20 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google

perlbal and django

2008-05-20 Thread [EMAIL PROTECTED]
pd+fastcgi ??? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit

Re: un-escaping params

2008-05-19 Thread [EMAIL PROTECTED]
Perfect, thanks! On May 19, 10:40 pm, Brian <[EMAIL PROTECTED]> wrote: > On Tue, May 20, 2008 at 12:44 AM, [EMAIL PROTECTED] < > > [EMAIL PROTECTED]> wrote: > > > Hi, > > > I'm parsing a URI manually, and trying to extract the GET params. > > > W

un-escaping params

2008-05-19 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: OperationalError (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='") Why

2008-05-19 Thread [EMAIL PROTECTED]
Make sure the columns themselves are set to UTF-8. On May 18, 4:13 am, coco <[EMAIL PROTECTED]> wrote: > Hi List, > > Django show this message to me: > > OperationalError at /champselysees/services/ > (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and

<    1   2   3   4   5   6   7   8   9   10   >