Use domain_name variable for Site object

This commit is contained in:
Bouke Haarsma 2013-08-29 10:04:50 +02:00
parent 0914c7a923
commit c01b4a2f9a

View File

@ -28,6 +28,6 @@ Run this script: (TODO - automate this)
from django.contrib.sites.models import Site
site = Site.objects.get()
site.domain = "{{cookiecutter.project_name}}.com"
site.domain = "{{cookiecutter.domain_name}}"
site.name = "{{cookiecutter.project_name}}"
site.save()