diff --git a/backend/Aries/urls.py b/backend/Aries/urls.py index 4cdc722..e27f23b 100644 --- a/backend/Aries/urls.py +++ b/backend/Aries/urls.py @@ -22,4 +22,5 @@ urlpatterns = [ path('admin/', admin.site.urls), path('user/', include(user_urls)), + path('alum/',include(alum_urls)) ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/backend/user/models.py b/backend/user/models.py index f2ff565..7b4a6a2 100644 --- a/backend/user/models.py +++ b/backend/user/models.py @@ -58,4 +58,7 @@ def __str__(self): class Meta: verbose_name = "Alum" verbose_name_plural = "Alums" - \ No newline at end of file + + + def __str__(self): + return f"{self.first_name} {self.last_name} {self.user.email}" \ No newline at end of file diff --git a/frontend/components/Card.tsx b/frontend/components/Card.tsx index 8fb019b..fe8d550 100644 --- a/frontend/components/Card.tsx +++ b/frontend/components/Card.tsx @@ -1,4 +1,6 @@ import React from "react"; +import Head from "next/head"; +import styles from './../styles/card.module.css' type PropType = { Name:string, @@ -10,42 +12,25 @@ function Card(props:PropType) { const imgStyle = { width: "12.4rem", height: "12.8rem", - flexShrink: "0", flexBasis: "21%", - borderRadius: "1.5rem", }; - // Create an array of 10 elements to map over - // const members = new Array(10).fill(null); - - // return ( - //