Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7255 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Evaluating 1.3 deprecated settings

Reported by: atarkowska Owned by: atarkowska
Priority: critical Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: cxallan, wmoore, cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-01-17 (6)

Description (last modified by atarkowska)

As of Django 1.3 a new set of settings has been made available for Databases. This is especially important as we run unitetests.

Change History (9)

comment:1 Changed 12 years ago by Aleksandra Tarkowska <atarkowska@…>

(In [cb22e56ffc654e422a02f1fc282e6a86214e117c/ome.git]) Removing hardcoded new Databases settings, see #7255.

That will become configurable in the standard manner.
Accidentally committed while running web unittests

comment:2 Changed 12 years ago by atarkowska

  • Remaining Time set to 2
  • Sprint set to 2012-01-17 (6)

comment:3 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:4 Changed 12 years ago by atarkowska

  • Description modified (diff)

comment:5 Changed 12 years ago by atarkowska

  1. DATABASES: "omero.web.databases": ["DATABASES", None, json.loads],

Deprecated:

  • DATABASE_ENGINE - This setting has been replaced by ENGINE in DATABASES.
  • DATABASE_HOST - This setting has been replaced by HOST in DATABASES.
  • DATABASE_NAME - This setting has been replaced by NAME in DATABASES.
  • DATABASE_OPTIONS - This setting has been replaced by OPTIONS in DATABASES.
  • DATABASE_PASSWORD - This setting has been replaced by PASSWORD in DATABASES.
  • DATABASE_PORT - This setting has been replaced by PORT in DATABASES.
  • DATABASE_USER - This setting has been replaced by USER in DATABASES.

New OMERO config command:

bin/omero config set omero.web.databases '{"default": {"ENGINE": "django.db.backends.sqlite3","NAME": "mydatabase"}}'

The database backend to use. The built-in database backends are:

  • 'django.db.backends.postgresql_psycopg2'
  • 'django.db.backends.postgresql'
  • 'django.db.backends.mysql'
  • 'django.db.backends.sqlite3'
  • 'django.db.backends.oracle'
  1. CACHES: "omero.web.caches": ["CACHES", None, json.loads],

Deprecated:

  • CACHE_BACKEND - This setting has been replaced by BACKEND in CACHES.

New OMERO config command:

bin/omero config set omero.web.caches '{"default": {"BACKEND": "django.core.cache.backends.filebased.FileBasedCache","LOCATION": "file://C:/windows/temp/"}}'

The cache backend to use. The built-in cache backends are:

Last edited 12 years ago by atarkowska (previous) (diff)

comment:6 Changed 12 years ago by atarkowska

  • Cc cxallan wmoore added

comment:7 Changed 12 years ago by atarkowska

  • Cc cneves-x added

comment:8 Changed 12 years ago by atarkowska

  • Remaining Time changed from 2 to 0
  • Status changed from accepted to closed

comment:9 Changed 12 years ago by Aleksandra Tarkowska <atarkowska@…>

  • Resolution set to fixed

(In [0d4676498693a667b41cdd1ca3527144c550fa45/ome.git] on branch develop) Evaluating django 1.3 settings, close #7255

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68094 sec.)

We're Hiring!