mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
commit
e7ad40bdfc
|
@ -29,5 +29,5 @@ Run this script: (TODO - automate this)
|
||||||
from django.contrib.sites.models import Site
|
from django.contrib.sites.models import Site
|
||||||
site = Site.objects.get()
|
site = Site.objects.get()
|
||||||
site.domain = "{{cookiecutter.project_name}}.com"
|
site.domain = "{{cookiecutter.project_name}}.com"
|
||||||
site.domain = "{{cookiecutter.project_name}}"
|
site.name = "{{cookiecutter.project_name}}"
|
||||||
site.save()
|
site.save()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user