Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2011-09-16 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
--+---
   Reporter:  Bless   |  Owner:  brosner
   Type:  enhancement | Status:  closed
  Milestone:  1.2 |  Component:  contrib.admin
Version:  newforms-admin  |   Severity:  normal
 Resolution:  fixed   |   Keywords:  djangocon
   Triage Stage:  Accepted|  Has patch:  1
Needs documentation:  0   |Needs tests:  1
Patch needs improvement:  1   |  Easy pickings:  0
  UI/UX:  0   |
--+---
Changes (by guettli):

 * cc: hv@… (removed)
 * ui_ux:   => 0
 * easy:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2010-03-01 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  brosner   
Status:  closed| Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:  fixed |  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  1 |  
---+
Changes (by kmtracey):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 Please open new tickets for follow-on problems rather than re-opening a
 fixed ticket.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2010-03-01 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  brosner   
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  1 |  
---+
Changes (by hejsan):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 This breaks if a ManyToMany field is specified as readonly.

 This is because the contents() function that is called in the
 fieldset.html template tries to display the value of the field but gets a
 ValueError if it is a ManyToManyField because they can't be used: "[Model
 name] instance needs to have a primary key value before a many-to-many
 relationship can be used"

 Just need to add ValueError to the catch as seen in the patch I attached,
 called catch_value_error.diff.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-12-12 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  brosner   
Status:  assigned  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  1 |  
---+
Changes (by brosner):

  * owner:  Alex => brosner
  * status:  new => assigned

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

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




Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-11-15 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  Alex  
Status:  new   | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  1 |  
---+
Changes (by y...@seznam.cz):

  * needs_better_patch:  0 => 1

Comment:

 This patch doesn't work with fix for this bug:
 http://code.djangoproject.com/ticket/8164 - readonly_fields are moved to
 end of form, if fields are not defined in ModelAdmin but in ModelForm's
 Meta class.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

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




Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-11-11 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  Alex  
Status:  new   | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  0 |  
---+
Changes (by frans):

 * cc: franc...@hop2it.be (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-11-09 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  Alex  
Status:  new   | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  0 |  
---+
Changes (by fest):

 * cc: reinis.ve...@wot.lv (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-10-24 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  Alex  
Status:  new   | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  0 |  
---+
Changes (by Alex):

  * needs_docs:  1 => 0

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-10-24 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  Alex  
Status:  new   | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  1 
Needs_docs:  1 |   Needs_tests:  1 
Needs_better_patch:  0 |  
---+
Changes (by Alex):

  * owner:  nobody => Alex
  * needs_docs:  0 => 1
  * has_patch:  0 => 1
  * status:  reopened => new
  * needs_tests:  0 => 1

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-10-21 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by jezdez):

 For the record, there is a pretty nice implementation here:
 http://bitbucket.org/stephrdev/django-readonlywidget/src/

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-09-20 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by Rupe):

 Something to keep in mind are fields like slug and primary key fields that
 may be editable only for new records. This is a little different from just
 saying that a field is solidly read only. These fields would be read only
 but only for the change view.

 I'm not quite sure how best to handle the difference though. Maybe
 display_only=True/False and display_only_change=True/False. I personally
 like the term 'display only' over 'read only'.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-27 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

 * cc: russr...@gmail.com (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-27 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by nix):

 * cc: listu...@peternixon.net (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-22 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by joshuajonah):

 * cc: j...@joshuajonah.com (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-18 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

 * cc: rlaa...@wiktel.com (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-15 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

 * cc: dan.fa...@gmail.com, apollo13, ta...@taijala.com,
 chrom...@gmail.com, h...@tbz-pariv.de (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-15 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

 * cc: dan.fa...@gmail.com, apollo13, ta...@taijala.com,
 chrom...@gmail.com, h...@tbz-pariv.de (removed)
 * cc: c...@webshox.org (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-08-04 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by veena):

 I think it should be easy to understand the behaviour from name of the
 attributes/list.

 I'm not native english speaker but `readonly` doesn't give me clear view
 if I can fill field in create form and it's only disable for editing or
 also creating is disabled. And then I miss the feature of hidden field.

 Proposals in ReadOnlyAdmin seems to me too complex and combination with
 permissions makes it even more complex. I think first behaviour should be
 straightforward. Then if we try it in admin and in future there will be
 some row level persmissions we could combine it.

 I propose these two options in ModelAdmin class:

  * `list_disable_edit = []` or `disable_edit_fields = []`
  * `list_disable_create = []` or `disable_create_fields = []`

 `list_disable_edit` for fields I don't want to make them editable but I
 should fill it once in create form and then see only value in edit form.

 `list_disable_create` for eg. automatically filled fields by imports
 scripts or own save() methods. In create form you could see some text from
 help_text like: "This is automatically filled field." or so on. If you
 don't also set that field in `disable_edit_fields` you are able to edit it
 further if you want.

 It's for another discussion how it would be implemented on the widget side
 eg.: disable="disable", readonly="readonly" or only value as a text.

 Maybe I'm missing something than apologize me, I'm not contributor to
 django but I'm using it heavy.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-07-29 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by chromano):

 * cc: chrom...@gmail.com (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-07-28 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

 * cc: ta...@taijala.com (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-05-07 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by apollo13):

 * cc: apollo13 (added)

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-04-20 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by legutierr):

 I jotted down some ideas about how this feature can be tackled; check it
 out at ReadOnlyAdmin.  I will extend that wiki page with some
 implementation specs once I finish the project that I am working on now.

 It is my intent to do any implementation work required, once I have to
 opportunity.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-04-18 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by mrts):

 See also #3990 (closed as duplicate of this) that has a somewhat different
 approach -- fields can be added but not changed later.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-03-31 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:  1.2   
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by mrts):

  * milestone:  => 1.2

Comment:

 Re-targeting for 1.2.

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2009-03-22 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by legutierr):

 If no one is working on this at the moment, I would like to give it a
 shot.  My understanding is that this enhancement has made it into the 1.1
 roadmap as a "maybe" feature.

 * further discussion of this bug at #820, #7150, #8947

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



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2008-10-08 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by [EMAIL PROTECTED]):

 I have a small patch in my personal version of django which adds
 editable=forms.VIEW_ONLY as a model field option.

 This seems along the lines discussed above.

 My patch still has these issues however:
 * the ViewOnlyWidget currently just calls force_unicode(value) which is
 not appropriate for all field types (eg. ForeignKeys are rendered as the
 id only)
 * the admin add form will only show the default value and not an input
 box. To support setting a value on create would require an additional
 option such as editable=forms.IMMUTABLE since some of the use cases above
 should allow setting an initial value and some should not

 Send me an email if you would like the patch. It is just to
 django/db/models/fields/__init__.py, django/forms/forms.py and
 django/forms/widgets.py

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@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-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2008-09-15 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Comment (by nagyv):

 I have the feeling that simon's list in large part contains data that
 shouldn't be edited once the item is created. If this is the case then I
 would rather thing about a readonly=True model option. Something similar
 to the DateField's auto_now_add argument. Basically, you never want to
 edit a DateField with auto_now_add=True.
 That is there is rationale to have it specified in the model instead of
 admin option.

 Moreover, even if it might be easier to define a readonly_fields in your
 admin class, logically this is about presenting your data, so it should be
 in you form. This way you can easily order the fields as well.

 So my idea would be to implement it as a widget + an option in model
 definition.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@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-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #342: Add a way for fields to be displayed in the admin without being editable

2008-09-10 Thread Django
#342: Add a way for fields to be displayed in the admin without being editable
---+
  Reporter:  Bless | Owner:  nobody
Status:  reopened  | Milestone:
 Component:  django.contrib.admin  |   Version:  newforms-admin
Resolution:|  Keywords:  djangocon 
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by danfairs):

 * cc: [EMAIL PROTECTED] (added)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@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-updates?hl=en
-~--~~~~--~~--~--~---