dear Law,

The admin css worked nicely. But my work is not fullfilled yet.
Actually i have a Model Candidate.
class Candidate(models.Model):
        site=models.ForeignKey(Site)
        first_name=models.CharField('First Name',max_length=30)
        last_name=models.CharField('Last Name',max_length=30)
        phone_home=models.CharField(max_length=16)
        phone_work=models.CharField(max_length=16)
        address=models.CharField(max_length=100)
        city=models.CharField(max_length=30)
        state=models.CharField(max_length=30)
        source=models.CharField(max_length=40)
        date_available=models.DateTimeField()
        can_relocate=models.BooleanField()
        notes=models.CharField(max_length=300)
        key_skills=models.CharField(max_length=200)
        current_employers=models.CharField(max_length=100)
        enter_by=models.CharField(max_length=50)
        owner=models.CharField(max_length=50)
        date_created=models.DateField(auto_now_add=True)

I create a ModelForm for it, CandidateForm.
There is a Attachment model, it contains a FileField.
What i want is that rearrange the fields in the CandidateForm and
insert a <input type="file"> in between it.
In admin it done through ModelAdmin.
What i want to do here...
please help me......

lima

On 5 Nov, 11:26, "Low Kian Seong" <[EMAIL PROTECTED]> wrote:
> No. Look at the css of the admin that says fieldsets and put your
> fields in the <fieldset></fieldset> tags to let the css definitions
> take effect.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to