Something like this:

from django import forms

class PermissionsChoiceForm(forms.Form):
    group1_ch = (
                (0,' Any registered users'),
                (1, 'Only users that can edit ')
                )
    group1 = forms.ChoiceField(
                               choices=group1_ch,
                               widget=forms.RadioSelect,
                               label='Who can view the data',
initial=0
                               )
    group2_ch = (
                (0,' Any registered users'),
                (1, 'Only the following users ')
                )
    group2 = forms.ChoiceField(
                               choices=group2_ch,
                               widget=forms.RadioSelect,
                               label='Who can edit the data',
initial=0
                               )

-- 
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.

Reply via email to