Re: [Django] #9650: Initial value for CharField primary key is not hidden in admin's inline form

2009-02-13 Thread Django
#9650: Initial value for CharField primary key is not hidden in admin's inline
form
---+
  Reporter:  Tarken| Owner:  nobody
Status:  closed| Milestone:
 Component:  django.contrib.admin  |   Version:  1.0   
Resolution:  duplicate |  Keywords:
 Stage:  Unreviewed| Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  0 
Needs_better_patch:  0 |  
---+
Changes (by anonymous):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => duplicate
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Duplicate of #8903

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



[Django] #9650: Initial value for CharField primary key is not hidden in admin's inline form

2008-11-20 Thread Django
#9650: Initial value for CharField primary key is not hidden in admin's inline
form
--+-
 Reporter:  Tarken|   Owner:  nobody
   Status:  new   |   Milestone:
Component:  django.contrib.admin  | Version:  1.0   
 Keywords:|   Stage:  Unreviewed
Has_patch:  0 |  
--+-
 Given the following:

 {{{
 #!python
 from django.db import models
 from django.contrib import admin

 class Client(models.Model):
 client_name = models.CharField(max_length=255)

 class ClientDomain(models.Model):
 domain_name = models.CharField(max_length=255, primary_key=True)
 client = models.ForeignKey(Client)

 class DomainInline(admin.TabularInline):
 model = ClientDomain
 extra = 1

 class ClientAdmin(admin.ModelAdmin):
 inlines = (DomainInline,)

 admin.site.register(Client, ClientAdmin)
 }}}

 The following HTML is generated in the "extra" inline:
 {{{
 #!text/html
 
   
   
 
 
   
 
 }}}

 And for existing record inlines:
 {{{
 #!text/html
 
   localhost
   
   
 
 
   
 
 }}}

 I am using the 1.0.X SVN branch.

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