Commits

Mikhail Korobov  committed 5b6c57d

Examples in README are fixed.

  • Participants
  • Parent commits 9abc9f4
  • Tags 0.1

Comments (0)

Files changed (1)

 
 then and add it to dashboard's children::
 
-    self.children += RegistrationCharts()
+    self.children += [RegistrationCharts()]
 
 go to admin and enjoy the result_.
 
 
 and add to dashboard's children (or to modules.Group)::
 
-    self.children += RegistrationChart('New Users', interval='days', days=30)
+    self.children += [RegistrationChart('New Users', interval='days', days=30)]
 
 
 RegistrationCharts
 get_registration_charts()
 -------------------------
 
-A function returning 3 default RegistrationChart instances.
+A function returning 3 default RegistrationChart instances::
+
+    from admin_user_stats.modules import get_registration_charts
+    self.children += get_registration_charts()
 
 
 Contributing