From 5539f57139708abaf452e7fd55d4e7a24d2701f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Wed, 21 Feb 2018 11:35:53 +0100 Subject: [PATCH] Add missing docstrings --- profiles/models.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/profiles/models.py b/profiles/models.py index 0322c3c..cae86a0 100644 --- a/profiles/models.py +++ b/profiles/models.py @@ -1,3 +1,12 @@ +""" +A django module that defines a profile, and all the information that can be +stored in a profile. +It stores interests, technical information such as the browser fingerprint, +the preferred search engin, and if the user is likely to directly use urls +or to type in the search engine. +""" + +import random from django.db import models @@ -23,6 +32,7 @@ class Keyword(models.Model): class Webpage(models.Model): + ''' A webpage url ''' url = models.URLField() def __str__(self):