Custom model field/form: __init__() got multiple values for keyword argument 'baz'

2011-09-20 Thread mhulse
Hello,

The problematic code can be found here:



TypeError:

__init__() got multiple values for keyword argument 'baz'

I have spent the last couple days trying to figure out how to pass a kwarg 
from model to fields/forms (and eventually to a widget).

TBTH, I have had a heck of a time finding a contemporary example of how to 
do this that fits the needs of my project. The docs are definitely detailed, 
and the Django source code is helpful, but I have yet to piece this puzzle 
together. :(

Any tips would be greatly appreciated.

Django (1, 4, 0, 'alpha', 0)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/K-MmaLu9m_kJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Need help getting this snippet to work in Django 1.2...

2011-06-10 Thread mhulse
Hi Martin! Thanks so much for the help, I really appreciate it. :)

> The snippet is a form field, not a model field.

Well, that would explain things! Lol.

When I read this in the instructions:

"Usage eg: yob = BirthYearField(label="What year were you born?")"

I thought that was a model field.

Thanks for pointing me in the right direction! :)

Have a nice day.

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/BPbNW-I4VC8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Need help getting this snippet to work in Django 1.2...

2011-06-10 Thread mhulse
I feel like this should be simple...

I would like to replace this model field:

date = models.DateField(_(u'Year'), unique=True)

...with this snippet:

http://djangosnippets.org/snippets/508/

I have spent the last couple hours banging my head on my keyboard...

During the course of my tests, at one point, I was getting an error that 
said something like "__init__() got an unexpected keyword argument 'unique'" 
(I think I was trying to extend IntegerField).

Any tips on how to convert that snippet so I can do:

from app.fields import YearField
...
year = YearField(_(u'Year'), unique=True)
...

Normally I wouldn't ask, but I am ready to give up... At this point, I am 
just curious to see how it's done for the sake of learning something new.

Thanks so much!

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Ov8sCyIqUUIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Custom select_related()

2011-06-07 Thread mhulse
Hello,

I have a M2M field...

class A(models.Model):
foo1 = models.ManyToManyField('B', related_name='foo1_set' ...)
foo2 = models.ManyToManyField('B', related_name='foo2_set' ...)
...

When I run:

...foo.select_related()

I get all of the B entries related to A instance.

I would like to write a method similar to select_related() (I need to 
customize the query), but I am not sure how to implement such a query.

I have been hammering at this all day, and I gave up on the idea of writing 
my own select_related() method and I have most recently tried:

Failure #1:

Add the below method to class A:

def custom_select_related(self):
if self.foo1:
return self.foo1.select_related()
elif self.foo2:
return self.foo2.select_related()
else:
return None

Failure #2:

Added the similar method as above, except I replaced replaced 
select_related() with foo1/foo2_set.

...

What I really need is to implement similar functionality as 
select_related()... I am just not sure how or where. Is this a model 
manager?

Could someone kick me in the right direction here? :D

Please let me know if I can post more code and/or explain my situation 
better.

Thanks so much!

Cheers,
Micky 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/WGd5bnh1OEI3WlFK.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ManyToManyField limit_choices_to that instance via Django admin.

2011-06-06 Thread mhulse
Hello,

Here's some example code:

[code]

class Creative(...):

file2 = models.ManyToManyField('Asset', ...)

class Asset(...):
file = models.FileField(...)

[/code]

Can I use limit_choices_to to limit "Asset" to only the files that were 
uploaded by the currently viewed "Creative" instance?

In other words, if an uploaded file was not uploaded by the current 
instance, then I do not want to show it in the admin M2M choice filed.

Does that make sense?

I have googled around, but I have not had any luck implementing a solid 
solution. Any tips?

Thanks so much!

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/MlhzZ1lkS0N5WElK.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



created/modified base abstract class?

2011-05-23 Thread mhulse
In my latest project I have have a few models that need to have a 
created/modified date/time non-editable fields.

I was wondering what would be the best way to handle this... Should create a 
base abstract class:

https://gist.github.com/987022

... and have the models that need those fields extend it, or would it be 
better to just add the created/modified/save() to each model that needs 
those fields?

For some reason, I like the thought of extending (avoids duplication and 
follows the DRY principle), but I was just curious what the Django 
professionals thought about this approach/technique?

Thanks!
Micky


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: custom tag and filtered value

2010-07-20 Thread mhulse
On Jul 20, 2:57 pm, owidjaya  wrote:
> how can i pass a filtered value to a custom tag?

+1 from me.

I just asked a similar question here:

"Template tag does not like parameters with filters ({% with foo as
bar %} question)"


I was not sure what to Google for, that is why I also asked the pros
on this group! :)

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: www.djangoproject.com

2010-07-02 Thread mhulse
> try rebooting, but there could be other DNS caches between you and a
> good name server.

If that's the case, would OpenDNS be of any help?



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Practical Django Projects 2: Weblog urls.py help...

2010-05-11 Thread mhulse
> I think the problem is due to the month digit... The book opted to use
> the 3-letter month name vs the two digits... I personally like the
> month as digits so I changed the urls.py and models.py to use %m.

My coworker solved this problem for me:

entry_info_dict = {
'queryset': Entry.objects.all(),
'date_field': 'pub_date',
'month_format': '%m',
}

I needed to pass "month_format" as %m to
django.views.generic.date_based... From what the docs say, the
date_based generic view defaults to %b.

So simple of a fix!

Thanks!
M

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Practical Django Projects 2: Weblog urls.py help...

2010-05-09 Thread mhulse
Hi,

I am working my way through Practical Django Projects, 2nd addition,
and I am having troubles getting the weblog permalink url to function.

>From my urls.py:

===

entry_info_dict = {
'queryset': Entry.objects.all(),
'date_field': 'pub_date',
}
...
...
(r'^(?P\d{4})/(?P\d{2})/(?P\d{2})/(?P[-\w]+)/
$', 'object_detail', entry_info_dict, 'coltrane_entry_detail'),
...
...

===

>From my models.py:

===

def get_absolute_url(self):
return ('coltrane_entry_detail', (),
{
'year': self.pub_date.strftime('%Y'),
'month': self.pub_date.strftime('%m'),
'day': self.pub_date.strftime('%d'),
'slug': self.slug
}
)
get_absolute_url = models.permalink(get_absolute_url)

===

When I visit this URI:



I get the 404 "page not found" error.

I think the problem is due to the month digit... The book opted to use
the 3-letter month name vs the two digits... I personally like the
month as digits so I changed the urls.py and models.py to use %m.

I have been scratching my head now for a few days (on and off) trying
to figure out why the uri above returns a 404... Any tips? I just want
to make sure I am not crazy here... The URI pattern looks correct to
me.

TIA!

M

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Template not displaying validation errors [solved]

2010-05-05 Thread mhulse
Hi Karen! Thanks so much for your quick reply, I really appreciate
it. :)

> form.is_valid() is what annotates the existing form with error information
> in the case where there are errrors. However, if form.is_valid() returns
> False, the code here immediately overwrites the existing (now annotated with
> error information) form and replaces it with a newly-created blank form, so
> there will be no errors for the template to display. Get rid of that else
> leg.

Eureka! That did the trick!!!

I swear that every example I looked at today returned an unbound
form. :D

Onward!

Thanks again Karen. You rock!

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Template not displaying validation errors

2010-05-05 Thread mhulse
Hi,

I have spent half the day googling and testing my code with no luck
getting an error message to appear via my template. I am hoping ya'll
could provide a little assistance. :)

forms.py:



class SearchForm(forms.Form):
q = forms.CharField(
max_length = 128,
min_length = 2,
label = 'Keywords',
help_text = 'This is a required field'
)
def clean_q(self):
cd = self.cleaned_data['q']
if not cd:
raise forms.ValidationError("Please enter a search 
term.")
return cd
# More fields defined here 



views.py:



def search(request):

pg = request.GET.get('page', '1')
results = ''
form = SearchForm()

if request.method == 'GET': # If the form has been submitted...

form = SearchForm(request.GET) # A form bound to the GET data.

if form.is_valid(): # All validation rules pass.

# Q objects/pagination here...

else:

form = SearchForm()

return render_to_response(
'folder/search.html',
{
'form': form,
'results': results,
}
)



search.html (nothing is output in any of the below tags):



{{ form.non_field_errors }}
{% if form.errors %}
{{ form.errors|pluralize }}
{% endif %}
{% for field in form %}
{{ field.error }}
{{ field.field.error }}
{% endfor %}



I must be missing something really obvious here! :D

Almost all of the examples of django forms and validation use POST
data... Is there something about GET data that makes error handling
different?

TIA!

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Noob questions: Syntax, Python listserv, utility/helper methods?

2010-05-05 Thread mhulse
> HTH,

Very much so!

Thanks so much Peter, I really appreciate your help. :)

One last question: I have been working with django-schedule (just been
doing the templating) and I noticed that the author of that code
prepended underscores to all of his included files:

...
_detail.html
_dialogs.html
_event_options.html
...
{% include "schedule/_dialogs.html" %}

GitHub django-schedule "templates/":


I thought that was a nice way of separating include files from
everything else. Is this something that other Python/Django folks
prefer?

Thanks again for all of your assistance and guidance. I owe you
one. :)

Have a great day!
Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Noob questions: Syntax, Python listserv, utility/helper methods?

2010-05-04 Thread mhulse
I come from the PHP/CodeIgniter/Actionscript/Other world I am slowly
learning Django and Python.

+

Question 01:

Sorry if OT... This is kinda more of a Python question. :(

In as3 oop, I like to do this (for example):

=
...
public class ClickTag {

// Private:
private var _ft:FireTrace;
...
private function init($str:String = ''):void {
...
=

Notice the underscore on "_ft" and the dollar sign on "$str".

Another example, in jQuery, I like to designate objects using a dollar
sign:

=

$foo = $('#mydiv');

=

Going back to the AS example, I really dig using a dollar sign for
method arguments and the underscore for class properties.

Does Python/Django allow for anything similar? :)

+

Question 02:

Is there a good Python listserv out there? I could not find an
obviously popular Google group. Something like the PHP user group
would be cool. :)

+

Question 03:

I am building a view, and I would like to move functions within the
view into other files (for the sake of modularity)... In general,
where do you like to store your generic (to everything) / specific (to
a particular view) "helper" methods/functions?

My co-worker suggested that I put "helper" methods in a "utilities.py"
file:

views.py
utilities.py

That might work well, but a part of me would prefer to do something
like this:

views.py
utilities/
   +--- paginate.py
   +--- other.py
   +--- this.py

In other words, one method per class file, vs. cramming everything
into one utilities file.

What do ya'll suggest?

Also, let's say "paginate.py" could be used for any project... Where
would you suggest I store "global" utility classes/methods?

+

Sorry if silly questions. :(

TIA!
M

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Nested for loop: {% cycle ... %}

2010-03-25 Thread mhulse
> As I understand it, {{ foo }} renders the current value of the
> variable and doesn't change it.
> {% cycle foo %} or the creating {% cycle "odd" "even" as foo %}
> advance the variable and
> then render it.  So you still need one of the latter in your loop, or
> the variable won't advance.

Ahhh! I get it! :)

Thanks Bill! I really appreciate the clarification.

Have an excellent day.

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Nested for loop: {% cycle ... %}

2010-03-25 Thread mhulse
Hi Peter and Bill! Thanks for the quick replies, I really appreciate
it. :)

@Peter:

I tried this:

==

{% for foo, baz in tuple %}
...

...
{% cycle "odd" "even" as foo %}
{% for bar in baz %}
...
...
{% endfor %}
...

...
{% endfor %}

==

But the cycle "renders" the output and the variable "foo" does this:

==

..
..
...

==

Maybe I am not understanding the usage of the "as" part?

@Bill:

Ahhh! Hehe, that is tricky. :D

I will experiment with your code sample.

...

It just came to me... I can use "divisibleby"!

This works:

==



==

Django's version of the PHP modulo operator strikes again!

Thanks again Peter and Bill, I really appreciate the help. Thanks for
taking the time to help a noob out. :D

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Nested for loop: {% cycle ... %}

2010-03-25 Thread mhulse
Hi!

Example code:

==

{% for pretty_date, days_events in date_days_events_tuple %}
...

...
{% for details in days_events %}
...
...
{% endfor %}
...

...
{% endfor %}

==

The output:

==

..
..
...

==

What I really want:

==

..
..
...

==

This must be a complete noob question. Sorry 'bout that. :D

Thanks!
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Noob question: Templates: How to count for loop?

2010-02-16 Thread mhulse
Many thanks for the help rebus_ and Daniel! All of your suggestions,
code samples, and links have been extremely helpful.

I appreciate it.

Have a great day!

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Noob question: Templates: How to count for loop?

2010-02-15 Thread mhulse
> You could do it like this. There was a discussion recently about mod
> operator and what happens when you want to do something every N times
> but can't find it now for some reason :(

Ah, interesting! Thanks for the code sample, I really appreciate your
assistance.

I will search around for the mod operator discussion... Sounds like it
could be a good read for me. :)

Thanks again!

Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Noob question: Templates: How to count for loop?

2010-02-15 Thread mhulse
> Check out "cycle"  template tag too.
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/#cycle

Thanks rebus_! I have played with that just a little bit. I will
explore it further.

Cheers,
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Noob question: Templates: How to count for loop?

2010-02-15 Thread mhulse
> Hrmm, forloop.counter. It is one of those days. :P

But, how can I tell if it is every third item?

Also, is there a way to check if the current number is even?

In a PHP template, I might do this:

... forloop ...

... endforloop ...

Sorry if silly question.

Thanks!
M

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Noob question: Templates: How to count for loop?

2010-02-15 Thread mhulse
> Is this possible? I am sure it is... Any tips ya'll could send my way
> would be spectacular!

Hrmm, forloop.counter. It is one of those days. :P

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Noob question: Templates: How to count for loop?

2010-02-15 Thread mhulse
Hi,

In my template:

{% for photo in photos %}

stuff
{% endfor %}

Is this possible? I am sure it is... Any tips ya'll could send my way
would be spectacular!

Thanks!
Micky

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Date/time field styling?

2009-08-11 Thread mhulse

Hi!

> Look at the SplitDateTimeWidget in django.forms.widgets.

I am sorry to be a complete noob here, but I am not sure how I can use
SplitDateTimeWidget to break-up the two dat/time fields?

I am actually using django-schedule:



Looks like the author is already using SplitDateTimeWidget:



The docs:



Not much info there... Do I need to create my own widget for this?

All I want is to have separate control over the two input fields. :)

Again, sorry if noob question. I am new to Django and Python.

Thanks!
Micky


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Date/time field styling?

2009-08-04 Thread mhulse

For those interested, I found this link via browsing the django-html
git source:

Django Developers:
Proposal: Form rendering with filters


Looks interesting.

Unfortunately, I am still a noob, so I probably won't be able to cross
that bridge for a while. :)

Thanks again! I really appreciate the help.
Cheers,
Micky
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Date/time field styling?

2009-08-04 Thread mhulse

Thanks Alex and Malcolm! I really appreciate the help. :)

Have a great day/night.

Cheers,
Micky
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Date/time field styling?

2009-08-03 Thread mhulse

Hello,

{{ form.start }}

For example, outputs this:



I have tried:

{{ form.start_0 }} and {{ form.start_1 }}, but that outputs absolutely
nothing. :)

Is it possible to split up the two fields so I can handle them
individually?

Also, is it possible to control the XHTML output? I prefer use a DTD
that does not allow an ending slash. :)

Many thanks in advance. :D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Ajax-based generic views?

2009-07-22 Thread mhulse

> How do we implement ajax-based generic views?

I am also a noob, but I personally would google:

django and jquery

Seems like Django is one beast to tackle, and Jquery is another.

Cheers,
M

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---