Closed
Bug 892080
Opened 12 years ago
Closed 12 years ago
Update Site data for AirMozilla
Categories
(Infrastructure & Operations :: IT-Managed Tools, task)
Infrastructure & Operations
IT-Managed Tools
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: jd)
Details
Can you set up the Site data for each site in its django shell (./manage.py shell):
For air-dev::
>>> from django.contrib.sites.models import Site
>>> site, = Site.objects.all()
>>> site.domain = 'air-dev.allizom.org'
>>> site.save()
For air stage::
>>> from django.contrib.sites.models import Site
>>> site, = Site.objects.all()
>>> site.domain = 'air.allizom.org'
>>> site.save()
For air prod::
>>> from django.contrib.sites.models import Site
>>> site, = Site.objects.all()
>>> site.domain = 'air.mozilla.org'
>>> site.save()
Comment 1•12 years ago
|
||
does this write something to the database, or does this need to be run on *every* web head in each cluster?
Assignee: server-ops-webops → cturra
Flags: needinfo?(peterbe)
OS: Mac OS X → All
Hardware: x86 → All
Comment 2•12 years ago
|
||
:peterbe - any update on this?
Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Chris Turra [:cturra] from comment #1)
> does this write something to the database, or does this need to be run on
> *every* web head in each cluster?
Just once. It updates the database.
I just don't have any way to update the database this way via the web.
Flags: needinfo?(peterbe)
Assignee | ||
Comment 4•12 years ago
|
||
This has been accomplished. Please let me know if the results are not as expected.
Regards
Assignee: cturra → jcrowe
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•