Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

david_b

By: a guest on May 5th, 2011  |  syntax: None  |  size: 0.18 KB  |  views: 54  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. class NewsletterAdmin extends ModelAdmin {
  3.         static $managed_models = array(
  4.                 'NewsletterContact',
  5.                 'NewsletterGroup',
  6.         );
  7.        
  8.         static $url_segment = 'newsletter';
  9. }
  10. ?>