Skip to Content
Machine Learning for the Web
book

Machine Learning for the Web

by Steve Essinger, Andrea Isoni
July 2016
Intermediate to advanced
298 pages
6h 14m
English
Packt Publishing
Content preview from Machine Learning for the Web

Admin

The admin panel is a user interface for managing the application, accessible through the browser. In the admin.py file, we can add the model just created with the following command:

from models import Person
admin.site.register(Person)

All the models can be accessed by a user interface at:

http://127.0.0.1:8000/admin/

At this link, the user name and password are required. We create that with the following command:

python manage.py createsuperuser

Then we type a username and password (in my case, andrea/a).

Now, we can explore the panel that follows:

Admin

Clicking on Persons, we will see all Person objects shown by name (because the__unicode__ function ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Machine Learning with TensorFlow.js

Hands-On Machine Learning with TensorFlow.js

Kai Sasaki
Machine Learning Logistics

Machine Learning Logistics

Ted Dunning, Ellen Friedman

Publisher Resources

ISBN: 9781785886607Supplemental Content