location /robots.txt {
root /home/bakotiinii/lieman/faceset;
alias /static/robots.txt;
}
location /robots.txt {
root /home/bakotiinii/lieman/faceset/static;
}
class BrowseLocationsPageView(ListView):
model = Country
context_object_name = 'countries'
template_name = "browse_locations.html"
def get_queryset (self):
return Country.objects.order_by().values('name').distinct()