THT files manually but it isnt working. So Ive decided to make the necessary adjustments to the DA file but I seem to not be able to get the TA to work. Ive tried using a different TA(all the program will offer) but it doesnt seem to work either. Here's the link to the DA file:
Here is the link to the TA:
A:
Here is the problem:
A;;GOS=diana;;;4010
This;; is an instruction to the translators to read the parts marked with;; in your text. So they need the diana part to read them. You need;; to change the;; instruction into your location name. See the;; man page for ld if you want to learn more about;; translators and instructions.
Edit: I have forgot to answer the question on the tail. It is;; just text.
Q:
How to check the credentials of a user in Django 1.11?
I'm creating an application to manage users on an Android system. To do this, I have a REST api based on Django.
Now I would like to know the following:
How to check the credentials of a user? For example, for me to verify if a username and password match the email and the password.
Should I create a model for the user? Or should I just register them using the app?
As I said, I'm not creating the web, but I would like to know how you can implement it in Django.
I'm not sure if this would work as Django doesn't have a user model, but you could use django.contrib.auth.models.User.
You would have to implement a custom UserManager for your application to manage users. If you need to verify the credentials of a user, you should create a custom User class with all the fields required, then have a UserManager to create, update and delete users.
Something like this:
class CustomUser(User):
username = models.CharField(max_length=100, blank=True)
first_name = models.CharField(max_length=100
Related links:
Comentários