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_leng
No. Look at the css of the admin that says fieldsets and put your
fields in the tags to let the css definitions
take effect.
On Wed, Nov 5, 2008 at 1:37 PM, limas <[EMAIL PROTECTED]> wrote:
>
>
>
>
>> I have done something similar and I generated my form automatically
>> using 'forms.as_p' then
> I have done something similar and I generated my form automatically
> using 'forms.as_p' then I put in some sections of the css from admin
> interface's css and it works. The section you want to look at is the
> fieldset section.
hello Low,
I can't understand what you mentioned clearly. Is
I have done something similar and I generated my form automatically
using 'forms.as_p' then I put in some sections of the css from admin
interface's css and it works. The section you want to look at is the
fieldset section.
Thanks.
On Tue, Nov 4, 2008 at 8:21 PM, limas <[EMAIL PROTECTED]> wrote:
hello Thomas,
i tried with ModelAdmin, but it is not working properly in my own
views.
i got this error "__init__() got an unexpected keyword argument
'instance'"
hop u understand what my problem is.
Actually i want to customize my page with a look and feel of django
admin page. Some modification
limas schrieb:
> Can i align a single long ModelForm into two raws?
> can i use django admin modules for my own purpose by customizing it?
> please give me some suggestions .
>
Yes, you can do both. Suggestion: Read the documentation.
Suggestion:
http://docs.djangoproject.com/en/dev/ref/c
Can i align a single long ModelForm into two raws?
can i use django admin modules for my own purpose by customizing it?
please give me some suggestions .
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django use
7 matches
Mail list logo