blob: cc57884a26151c5f9991459f6e2176a84189b532 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import os
from builder.base import BuildNew
from django.urls import reverse
from . import models
class BuildLinks(BuildNew):
def build(self):
self.build_list_view()
self.build_detail_view()
# These are the unique classes for this model:
#self.build_feed("src:feed")
def build_list_view(self):
response = self.client.get('/linked/')
self.write_file('linked/', response.content)
def linkbuilder():
j = BuildLinks("links", "link")
j.build()
|