Devilry
milestone-6
  • Devilry user documentation
  • Devilry sysadmin docs
  • Devilry developer documentation
    • Essentials
    • API and utilities
      • devilry.apps.core.models — Devilry core datastructure
      • The devilry_core_tags template library
      • devilry.apps.core.deliverystore — DeliveryStore
      • devilry.utils — Various utility functions
        • devilry.utils.devilry_email
        • devilry.utils.groups_groupedby_relatedstudent_and_assignment
        • devilry.utils.datetimeutils
    • Advanced topics
    • Apps
    • Deprecated APIs and frameworks
    • Releases
  • How to create documentation/guides
  • Forum, issue-tracker and contact information
Devilry
  • Devilry developer documentation
  • devilry.utils — Various utility functions
  • Edit on GitHub

devilry.utils — Various utility functions

  • devilry.utils.devilry_email
    • NoEmailAddressException
    • send_email()
    • send_email_admins()
  • devilry.utils.groups_groupedby_relatedstudent_and_assignment
    • Example
    • API
  • devilry.utils.datetimeutils
    • ISODATETIME_DJANGOFORMAT
    • get_current_datetime()
    • default_timezone_datetime()
    • isoformat_noseconds()
    • isoformat_withseconds()
    • datetime_with_same_day_of_week_and_time()
    • datetime_to_url_string()
    • datetime_url_string_to_datetime()

There are more utils than the ones listed above. Read the source. The most useful is probably:

  • devilry.utils.passed_in_previous_period — Find students that passed the course in previous periods/semesters.

Previous Next

© Copyright 2023, Devilry AS. Revision 16afe0e8.

Built with Sphinx using a theme provided by Read the Docs.