As, now all the workshop details are being displayed on the website, we can start allowing users to register for the workshop. But before this, we must verify that the users who are registering for the workshop are registered users on the website. For this, we would need to implement the user registration and login functionality.
We shall start by linking the urls of authentication app with the main project.
For this we would open the CampusConnect/urls.py
and add the code to link with authentication
app.
urlpatterns = [
path('admin/', admin.site.urls),
path("", include('event.urls')),
path("", include("authentication.urls")),
]
After this is done, you would need to create a urls.py
file inside the authentication
app and add the following code.
from django.urls import path
urlpatterns = [
]
By doing this all '' paths would be linked to the authentication
app.
The authentication/urls.py
file would be further edited to render the specific web pages on visiting a specific url.