<s> from django . conf . urls import patterns , url <EOL> from favorites . views import ToggleFavorite , UserFavorites <EOL> urlpatterns = patterns ( "<STR_LIT>" , <EOL> url ( r"<STR_LIT>" , UserFavorites . as_view ( ) , name = "<STR_LIT>" ) , <EOL> url ( r"<STR_LIT>" , ToggleFavorite . as_view ( ) , name = "<STR_LIT>" ) , <EOL> ) </s>
