old_contents: # Copyright (C) 2015 Linaro Limited
  #
  # Author: Stevan Radakovic <stevan.radakovic@linaro.org>
  #
  # This file is part of Lava Server.
  #
  # Lava Server is free software: you can redistribute it and/or modify
  # it under the terms of the GNU Affero General Public License version 3
  # as published by the Free Software Foundation
  #
  # Lava Server is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU Affero General Public License
  # along with Lava Dashboard.  If not, see <http://www.gnu.org/licenses/>.
  
  """
  Administration interface of the LAVA Results application.
  """
  
  from django import forms
  from django.contrib import admin
  from django.contrib.admin.actions import delete_selected
  from django.contrib.contenttypes import generic
  from django.utils.translation import ugettext_lazy as _
  
  from lava_results_app.models import (
      Query
  )
  
  
  class QueryAdmin(admin.ModelAdmin):
      save_as = True
  
  admin.site.register(Query, QueryAdmin)
  
new_contents: # Copyright (C) 2015 Linaro Limited
  #
  # Author: Stevan Radakovic <stevan.radakovic@linaro.org>
  #
  # This file is part of Lava Server.
  #
  # Lava Server is free software: you can redistribute it and/or modify
  # it under the terms of the GNU Affero General Public License version 3
  # as published by the Free Software Foundation
  #
  # Lava Server is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU Affero General Public License
  # along with Lava Dashboard.  If not, see <http://www.gnu.org/licenses/>.
  
  """
  Administration interface of the LAVA Results application.
  """
  
  from django import forms
  from django.contrib import admin
  from django.contrib.admin.actions import delete_selected
  from django.contrib.contenttypes import fields
  from django.utils.translation import ugettext_lazy as _
  
  from lava_results_app.models import (
      Query
  )
  
  
  class QueryAdmin(admin.ModelAdmin):
      save_as = True
  
  admin.site.register(Query, QueryAdmin)
  
subject: Fix deprecation warnings - RemovedInDjango19Warning