Add missing docstrings
This commit is contained in:
parent
4920de5838
commit
5539f57139
1 changed files with 10 additions and 0 deletions
|
@ -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
|
from django.db import models
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,6 +32,7 @@ class Keyword(models.Model):
|
||||||
|
|
||||||
|
|
||||||
class Webpage(models.Model):
|
class Webpage(models.Model):
|
||||||
|
''' A webpage url '''
|
||||||
url = models.URLField()
|
url = models.URLField()
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in a new issue