<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13091</bug_id>
          
          <creation_ts>2018-12-18 05:04:22 +0000</creation_ts>
          <short_desc>SRTool broken for Django-2.2</short_desc>
          <delta_ts>2018-12-21 22:58:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Security Response Tool</product>
          <component>General</component>
          <version>2.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Reyna">david.reyna</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82523</commentid>
    <comment_count>0</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2018-12-18 05:04:22 +0000</bug_when>
    <thetext>Newer hosts (like Ubuntu-18) by default install Django-2.x.

The current SRTool for Django-1.11 does not support the API changes that Django-2.x requires, and this fails to start.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82524</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2018-12-18 05:06:32 +0000</bug_when>
    <thetext>Steps needed to support Django-2.2:
  Move &apos;django.core.urlresolvers&apos; to &apos;django.urls&apos;
  Disable &apos;register.assignment_tag&apos; tags
  Move settings &apos;MIDDLEWARE_CLASSES&apos; to &apos;MIDDLEWARE&apos;
  Move urlpatterns &apos;include&apos; to &apos;path&apos;
  Move &apos;regex.pattern&apos; to &apos;pattern.regex.pattern&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82530</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2018-12-18 12:33:58 +0000</bug_when>
    <thetext>Startup doesn&apos;t work if there is no database because the SQL doesn&apos;t parse.  There&apos;s a patch in https://gitlab.com/rossburton/srtool/tree/ross</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82587</commentid>
    <comment_count>3</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2018-12-21 22:58:47 +0000</bug_when>
    <thetext>Now working in multiple systems.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>