I am wondering if it is possible to populate a list of text input
fields in admin forms from a default store (database or text). Perhaps a
problem I'm trying to solve will illustrate it better.

Code:

class Project(models.Model):
        """ Production Projects """
        name                                    = models.CharField(maxlength = 
100, help_text = 'Max. 100 characters')
        ...
        
        
class Milestone(models.Model):
        """ Production Project Milestone """
        project                                 = models.ForeignKey(Project, 
edit_inline=models.TABULAR,num_in_admin=15)
        name                                    = models.CharField(maxlength = 
100, core = True)



I'm working on a model that will allow a team to create projects with
milestones. Their projects are fairly consistent and a set of
milestones or project phases doesn't change very often, though it could
sometime.

How could I help a user by providing a template with editable milestone
name in the 'Add project' form? Also, is there a way to add additional
milestones in the same form?

I hope I make it clear.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to