I have added account app to installed_apps in my django project. also I have added urls of account app as like below:
(r"^account/", include("account.urls"))
Its working fine. Now I had to override SignupView class of account app. This is also working fine. Now I have created a new class CreateUser(SignupView) and I want that only admin user will be able to create user. So I added a different url for CreateUser(SignupView) view. Now I want that account/signup url with view SignupView will not be accessible anymore.
How can I block this particular url by keeping other urls active of account app as this is a library.