Re: Problem with a view - MultiValueDictKeyError

2015-12-18 Thread Dariusz Mysior
Hmm I split index view on two views index and register_user and now it is 
ok heh.

W dniu czwartek, 17 grudnia 2015 22:16:33 UTC+1 użytkownik Dariusz Mysior 
napisał:
>
> I have this view and I have a bug why?
>
> def index(request):
> # jezeli formularz coś wysłał
> if request.method == 'POST':
> form_r = UserCreationForm(request.POST)
> username = request.POST['username']
> password = request.POST['password']
> user = authenticate(username=username, password=password)
>
> # jezeli uzytkownik istnieje
> if user is not None:
> if user.is_active:
> login(request, user)
> return HttpResponseRedirect('profile')
>
> else:
> # Return a 'disabled account' error message
> ...
> else:
> # Return an 'invalid login' error message.
> return HttpResponseRedirect('invalid_login')
> if form_r.is_valid():
> form_r.save()
> info="Zarejestrowałeś się!"
> return render_to_response('ownsite/register_success.html', 
> {info:'info'})
> else:
> return HttpResponseRedirect('/')
> # tworze formularze
> args = {}
> args.update(csrf(request))
> args['form_l'] = AuthenticationForm()
> args['form_r']= UserCreationForm()
>
> return render_to_response('index.html', args)
>
>
> A bug
>
>
> MultiValueDictKeyError at / 
>>
>> "'password'"
>>
>> Request Method: POST Request URL: http://127.0.0.1:8000/ Django Version: 
>> 1.8.4 Exception Type: MultiValueDictKeyError Exception Value: 
>>
>> "'password'"
>>
>> Exception Location: 
>> C:\Python34\lib\site-packages\django\utils\datastructures.py 
>> in __getitem__, line 322 Python Executable: C:\Python34\python.exe Python 
>> Version: 3.4.3 Python Path: 
>>
>> ['C:\\Python34\\ownsite',
>>  'C:\\WINDOWS\\SYSTEM32\\python34.zip',
>>  'C:\\Python34\\DLLs',
>>  'C:\\Python34\\lib',
>>  'C:\\Python34',
>>  'C:\\Python34\\lib\\site-packages']
>>
>> Server time: Czw, 17 Gru 2015 22:07:11 +0100
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/036c4784-6dd9-40c1-b4eb-6fe5b8f19ef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin debugging delete

2015-12-18 Thread Mike Dewhirst

Thanks Andreas - I'll dig deeper!

Cheers

Mike

On 18/12/2015 9:02 PM, Andreas Kuhne wrote:

Hi,

Are you working in django admin and using the delete checkbox to delete
a child record?

If so, it is not a javascript event, but it is handled by when you save
to the parents form (it's a formset with child forms). I would follow
where the django code stops executing.

Regards,

Andréas

2015-12-18 10:20 GMT+01:00 Mike Dewhirst >:

Forgot to mention - Django 1.8, Python 2.7 and 3.4, Postgres 9.1 and
9.3, Apache 2.2 and the dev server

I have been digging a little and think this is a javascript
initiated event. I am not comfortable with javascript so my
uncertainty has just doubled.

Thanks very much for any direction

Cheers

Mike

On 17/12/2015 6:41 PM, Mike Dewhirst wrote:

I'm having trouble debugging a failed child record Delete. That
is the
Delete [x] checkbox being ticked does not delete the child record.

It is obviously something to do with my bad but I'm not sure
where to
start.

Any hints?

Thanks

Mike


--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to django-users@googlegroups.com
.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/5673CFCF.70707%40dewhirst.com.au.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to django-users@googlegroups.com
.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CALXYUbmbJ%2B-0bATpHDscunyo6r1CwK7KGAEWvTQk9mxpQFpuiA%40mail.gmail.com
.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/567478EE.5090407%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with a view - MultiValueDictKeyError

2015-12-18 Thread Dariusz Mysior
My template looks like below but I changed someting in View and than I had 
this error

{% load staticfiles %}




{% block title %}{% endblock %}







{% block header %}
{% if user.is_authenticated %}
Jesteś  zalogowany {{ user.username }}
wyloguj
{% else %}
Login
{% csrf_token %}
{{ form_l.as_p }}


{% endif %}
{% endblock %}


{% block content %}

{% block left_content %}
{% if user.is_authenticated %}
Jesteś zalogowany
{% else %}
Zaloguj się lub zarejestruj
{% endif %}
{% endblock %}


{% block right_content %}
{% if user.is_authenticated %}
Jesteś zalogowany
{% else %}
Register
{% csrf_token %}
{{form_r.as_p}}
 
 
{% endif %}
{% endblock %}
{% endblock %}



copyright  Dariusz Mysior








W dniu czwartek, 17 grudnia 2015 22:16:33 UTC+1 użytkownik Dariusz Mysior 
napisał:
>
> I have this view and I have a bug why?
>
> def index(request):
> # jezeli formularz coś wysłał
> if request.method == 'POST':
> form_r = UserCreationForm(request.POST)
> username = request.POST['username']
> password = request.POST['password']
> user = authenticate(username=username, password=password)
>
> # jezeli uzytkownik istnieje
> if user is not None:
> if user.is_active:
> login(request, user)
> return HttpResponseRedirect('profile')
>
> else:
> # Return a 'disabled account' error message
> ...
> else:
> # Return an 'invalid login' error message.
> return HttpResponseRedirect('invalid_login')
> if form_r.is_valid():
> form_r.save()
> info="Zarejestrowałeś się!"
> return render_to_response('ownsite/register_success.html', 
> {info:'info'})
> else:
> return HttpResponseRedirect('/')
> # tworze formularze
> args = {}
> args.update(csrf(request))
> args['form_l'] = AuthenticationForm()
> args['form_r']= UserCreationForm()
>
> return render_to_response('index.html', args)
>
>
> A bug
>
>
> MultiValueDictKeyError at / 
>>
>> "'password'"
>>
>> Request Method: POST Request URL: http://127.0.0.1:8000/ Django Version: 
>> 1.8.4 Exception Type: MultiValueDictKeyError Exception Value: 
>>
>> "'password'"
>>
>> Exception Location: 
>> C:\Python34\lib\site-packages\django\utils\datastructures.py 
>> in __getitem__, line 322 Python Executable: C:\Python34\python.exe Python 
>> Version: 3.4.3 Python Path: 
>>
>> ['C:\\Python34\\ownsite',
>>  'C:\\WINDOWS\\SYSTEM32\\python34.zip',
>>  'C:\\Python34\\DLLs',
>>  'C:\\Python34\\lib',
>>  'C:\\Python34',
>>  'C:\\Python34\\lib\\site-packages']
>>
>> Server time: Czw, 17 Gru 2015 22:07:11 +0100
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3a3e2695-c20d-4996-8464-82cfee72a81c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: installing django scripts on a web server

2015-12-18 Thread Vernon D. Cole


On Friday, December 18, 2015 at 4:55:16 AM UTC-7, maringire ringaz wrote:
>
> How do i install django-cms(or any other web app) on xampp or runserver 
> using pycharm
>

First, I would say that xampp is a non-starter, because it does not have 
support for Python. [besides that, I prefer nginx and postgresql to apache 
and mysql.]

Second, I would suggest using the professional edition of PyCharm -- it has 
specific support for django.  There is special pricing for many use cases. 
For example, if you are creating an open source product, the price is zero. 
Running runserver becomes a single button press.

Third, you can either build a django-cms project using their install 
script, then make a PyCharm project of the result, or...

Fourth, you could use the"hard" way 
 and make 
your own requirements.txt file, then let PyCharm (which will use pip) do 
the installations for you.  If you will be creating more than one copy of 
your site, keeping control of your requirements.txt is a good idea. On my 
next project, I will be doing that in order to automate a complete 
installation using pip via saltstack .

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d86bcfaa-7976-40bb-8076-1e4d3bb5f1cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Question about using a model as a member in another model.

2015-12-18 Thread Eliot
It looks like you need a ForeignKey 

 
relationship.

So your SignUp model would have an extra field, looking something like this:

class SignUp(models.Model):
   #...other fields...
   elective = models.ForeignKey(Elective)

Now each SignUp instance is related to a particular Elective.  And any 
Elective instance can have multiple SignUps.

# Get all sign ups for the elective "myElective"
signups = myElective.signup_set.all()


On Thursday, December 17, 2015 at 3:19:52 PM UTC-5, Pemby wrote:
>
> Hi all,
>
> This is totally a beginner question and if this is the incorrect forum for 
> this type of question please let me know!
>
> So I have a couple questions. 
> First I have two models 
>
> a Student (as a signup)
> a Class (as a Elective) 
>
> What is the correct way to associate nth amount of students to a class? 
> Also after I associate a list / dict (or whatever we decide here), would 
> adding logic as a max limit of students be added to my Elective controller 
> class? Or would the logic of "Max students" in a Elective instance be 
> better contained in m elective class? 
> Would I use a constructor with methods in my model to check? 
>
> here are the models for contex (still in progress) 
>
> # Create your models here.
>
> class SignUp(models.Model):
> first = models.CharField(max_length=25, null=True, blank=False)
> last = models.CharField(max_length=25, null=True, blank=False)
> studentID = models.CharField(max_length=6, null=True, blank=False)
> gradeChoice = models.CharField(max_length=2, choices=grd, default='1')
> genChoice = models.CharField(max_length=2, choices=gender, default='1')
> timestamp = models.DateTimeField(auto_now_add=True, auto_now=False)
> update = models.DateTimeField(auto_now_add=False, auto_now=True)
>
> def __unicode__(self):
> return smart_unicode('Student: ' + self.last + ', ' + self.first)
>
>
> class Elective(models.Model):
> title = models.CharField(max_length=25, null=True, blank=False)
> description = models.CharField(max_length=500,null=True, blank=False)
> tFname = models.CharField(max_length=25, null=True, blank=False)
> tLname = models.CharField(max_length=25, null=True, blank=False)
>
> def __unicode__(self):
> return smart_unicode('Class Name:: ' + self.title)
>
>
>
> Please let me know of you have any questions. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e7f2248a-da7f-40d4-a288-e89806931ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error while customising Django User

2015-12-18 Thread Tim Graham
If you didn't start your project with a custom user, it's non-trivial to 
start using one. Please see https://code.djangoproject.com/ticket/25313.

On Friday, December 18, 2015 at 6:55:16 AM UTC-5, Web Architect wrote:
>
> Hi,
>
> I am new to Django and still under the process of learning. We are using 
> an open source ecommerce platform - Oscar - for our online store. Oscar is 
> based on Django.
>
> I was trying to customise the Django User model by extending with some few 
> extra fields/columns:
>
> # file: your-project/apps/user/models.pyfrom django.db import models
>
> from django.contrib.auth.models import AbstractUser
>
> class User(AbstractUser): user_type = models.IntegerField()
>
> # use our own user model in settings.pyAUTH_USER_MODEL = "user.User"
>
> With the above changes, when I run 'makemigration' followed by 'migrate', I 
> am getting the following errors:
>
> *Running migrations:*
>
>   Rendering model states...Traceback (most recent call last):
>
>   File "./manage.py", line 10, in 
>
> execute_from_command_line(sys.argv)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/__init__.py",
>  line 338, in execute_from_command_line
>
> utility.execute()
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/__init__.py",
>  line 330, in execute
>
> self.fetch_command(subcommand).run_from_argv(self.argv)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/base.py",
>  line 393, in run_from_argv
>
> self.execute(*args, **cmd_options)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/base.py",
>  line 444, in execute
>
> output = self.handle(*args, **options)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/commands/migrate.py",
>  line 222, in handle
>
> executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/db/migrations/executor.py",
>  line 100, in migrate
>
> state.apps  # Render all real_apps -- performance critical
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/utils/functional.py",
>  line 60, in __get__
>
> res = instance.__dict__[self.name] = self.func(instance)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/db/migrations/state.py",
>  line 166, in apps
>
> return StateApps(self.real_apps, self.models)
>
>   File 
> "/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/db/migrations/state.py",
>  line 248, in __init__
>
> raise ValueError(msg.format(field=operations[0][1], model=lookup_model))
>
> ValueError: Lookup failed for model referenced by field basket.Basket.owner: 
> customer.User
>
>
> I am not sure what's causing the above error. Certainly there could be 
> models which would be dependent on the User model but I thought the 
> makemigrations and migrate should be able to resolve those.
>
> Would appreciate if someone could help me with resolving the above errors.
>
> Thanks
>
>
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5087e045-a93b-4173-ae0d-55f0093016d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to aggregate (min/max etc.) over Django JSONField data?

2015-12-18 Thread a1tus
I'm using django 1.9 with its built-in JSONField and postgres 9.4. In my 
model's attrs json field I store objects with some values, including 
numbers. And I need to aggregate over them to find min/max values. 
Something like this:

Model.objects.filter(**some).aggregate(min=Min('attrs__my_key'))

Also it would be useful to extract specific keys:

Model.objects.filter(**some).values_list('attrs__my_key', flat=True)

The above queries fail with FieldError: "Cannot resolve keyword 'my_key' 
into field. Join on 'attrs' not permitted."

Is it possible somehow?
I've started to dig into query expressions but without any success yet.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d29bcc75-0879-4516-b831-f7aed79e1a98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


installing django scripts on a web server

2015-12-18 Thread maringire ringaz
How do i install django-cms(or any other web app) on xampp or runserver 
using pycharm

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/70dd9ad9-859a-49a5-9e92-dcd252f5b640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error while customising Django User

2015-12-18 Thread Web Architect
Hi,

I am new to Django and still under the process of learning. We are using an 
open source ecommerce platform - Oscar - for our online store. Oscar is 
based on Django.

I was trying to customise the Django User model by extending with some few 
extra fields/columns:

# file: your-project/apps/user/models.pyfrom django.db import models

from django.contrib.auth.models import AbstractUser

class User(AbstractUser): user_type = models.IntegerField()

# use our own user model in settings.pyAUTH_USER_MODEL = "user.User"

With the above changes, when I run 'makemigration' followed by 'migrate', I am 
getting the following errors:

*Running migrations:*

  Rendering model states...Traceback (most recent call last):

  File "./manage.py", line 10, in 

execute_from_command_line(sys.argv)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/__init__.py",
 line 338, in execute_from_command_line

utility.execute()

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/__init__.py",
 line 330, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/base.py",
 line 393, in run_from_argv

self.execute(*args, **cmd_options)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/base.py",
 line 444, in execute

output = self.handle(*args, **options)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/core/management/commands/migrate.py",
 line 222, in handle

executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/db/migrations/executor.py",
 line 100, in migrate

state.apps  # Render all real_apps -- performance critical

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/utils/functional.py",
 line 60, in __get__

res = instance.__dict__[self.name] = self.func(instance)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/db/migrations/state.py",
 line 166, in apps

return StateApps(self.real_apps, self.models)

  File 
"/Users/pinakeebiswas/waltzz/lib/python2.7/site-packages/django/db/migrations/state.py",
 line 248, in __init__

raise ValueError(msg.format(field=operations[0][1], model=lookup_model))

ValueError: Lookup failed for model referenced by field basket.Basket.owner: 
customer.User


I am not sure what's causing the above error. Certainly there could be 
models which would be dependent on the User model but I thought the 
makemigrations and migrate should be able to resolve those.

Would appreciate if someone could help me with resolving the above errors.

Thanks





-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d9f452f6-d770-4af2-90a1-9d43d2aace66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin debugging delete

2015-12-18 Thread Andreas Kuhne
Hi,

Are you working in django admin and using the delete checkbox to delete a
child record?

If so, it is not a javascript event, but it is handled by when you save to
the parents form (it's a formset with child forms). I would follow where
the django code stops executing.

Regards,

Andréas

2015-12-18 10:20 GMT+01:00 Mike Dewhirst :

> Forgot to mention - Django 1.8, Python 2.7 and 3.4, Postgres 9.1 and 9.3,
> Apache 2.2 and the dev server
>
> I have been digging a little and think this is a javascript initiated
> event. I am not comfortable with javascript so my uncertainty has just
> doubled.
>
> Thanks very much for any direction
>
> Cheers
>
> Mike
>
> On 17/12/2015 6:41 PM, Mike Dewhirst wrote:
>
>> I'm having trouble debugging a failed child record Delete. That is the
>> Delete [x] checkbox being ticked does not delete the child record.
>>
>> It is obviously something to do with my bad but I'm not sure where to
>> start.
>>
>> Any hints?
>>
>> Thanks
>>
>> Mike
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5673CFCF.70707%40dewhirst.com.au
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALXYUbmbJ%2B-0bATpHDscunyo6r1CwK7KGAEWvTQk9mxpQFpuiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Admin debugging delete

2015-12-18 Thread Mike Dewhirst
Forgot to mention - Django 1.8, Python 2.7 and 3.4, Postgres 9.1 and 
9.3, Apache 2.2 and the dev server


I have been digging a little and think this is a javascript initiated 
event. I am not comfortable with javascript so my uncertainty has just 
doubled.


Thanks very much for any direction

Cheers

Mike

On 17/12/2015 6:41 PM, Mike Dewhirst wrote:

I'm having trouble debugging a failed child record Delete. That is the
Delete [x] checkbox being ticked does not delete the child record.

It is obviously something to do with my bad but I'm not sure where to
start.

Any hints?

Thanks

Mike



--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5673CFCF.70707%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.