@classmethod
    def derive_url_pattern(cls, path, action):
        """
        Returns the URL pattern for this view.
        """
        return r'^%s/%s/(?P<pk>\d+)/$' % (path, action)
dataset/ETHPy150Open nyaruka/smartmin/smartmin/views.py/SmartDeleteView.derive_url_pattern/original