docs: def get_mod_func(class_string):
      """
      Converts 'django.views.news.stories.story_detail' to
      ('django.views.news.stories', 'story_detail')
  
      Taken from django.core.urlresolvers
      """
      try:
          dot = class_string.rindex('.')
      except ValueError:
          return class_string, ''
      return class_string[:dot], class_string[dot + 1:]