<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(addon, dev):
 """Remove a dependency. Examples: $ django remove dynamic-rest - dynamic-rest == 1.5.0 """

    application = get_current_application()
    application.remove(addon, dev=dev)