Changes between Version 54 and Version 55 of NewformsHOWTO


Ignore:
Timestamp:
12/18/08 23:10:26 (6 years ago)
Author:
adnan
Comment:

added example of what ModelAdmin.Media css and js does

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v54 v55  
    518518 
    519519admin.site.register(Page, PageModelAdmin)
     520}}}
     521
     522This will add the following code to your models' change page:
     523
     524{{{
     525<link href="/some/form/css" type="text/css" media="all" rel="stylesheet" />
     526<script type="text/javascript" src="/some/form/javascript"></script>
    520527}}}
    521528
Back to Top