mirror of
https://github.com/Rushilwiz/spaceout.git
synced 2025-04-08 14:00:16 -04:00
Why am i here
This commit is contained in:
parent
652b0bc856
commit
59cfbf50d4
|
@ -1 +1,6 @@
|
|||
from django.contrib import admin
|
||||
from .models import *
|
||||
|
||||
|
||||
admin.site.register(Profile)
|
||||
admin.site.register(Classroom)
|
|
@ -41,7 +41,7 @@ class Login extends Component {
|
|||
password: this.state.password,
|
||||
}),
|
||||
};
|
||||
fetch("/api/auth/token/login", requestOptions)
|
||||
fetch("/api/auth/token/login/", requestOptions)
|
||||
.then((response) => {console.log(response); return response.json();})
|
||||
.then((data) => console.log(data));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user