why is sites loaded with example.com?

42 views
Skip to first unread message

Carl Karsten

unread,
Dec 29, 2010, 4:51:05 PM12/29/10
to pinax...@googlegroups.com
$ pinax-admin setup_project ndv
...
done!

What put this in here:

fixtures/initial_data.json [
{
"pk": 1,
"model": "sites.site",
"fields": {
"domain": "example.com",
"name": "Example Site"
}
}
]

--
Carl K

Brian Rosner

unread,
Dec 29, 2010, 5:35:44 PM12/29/10
to pinax...@googlegroups.com

This fixture is added because it makes it simpler to change the domain
and name for the default site instance Django is already giving you.
Because 100% of the time when you use a Pinax project you end up
needing to change it. We're just making it easier to be consistent
across all deployed instances.


--
Brian Rosner
http://oebfare.com
http://twitter.com/brosner

Reply all
Reply to author
Forward
0 new messages