

import oioioi.filetracker.fields
import oioioi.problems.models

# Each field appears two times, because otherwise the migration doesn't work:
# https://code.djangoproject.com/ticket/25866

class Migration(migrations.Migration):

    dependencies = [
        ('sinolpack', '0001_initial'),
    ]

    operations = [
        migrations.AlterField(
            model_name='extrafile',
            name='file',
            field=oioioi.filetracker.fields.FileField(
                upload_to=oioioi.problems.models.make_problem_filename,
                max_length=256),
        ),
        migrations.AlterField(
            model_name='extrafile',
            name='file',
            field=oioioi.filetracker.fields.FileField(
                upload_to=oioioi.problems.models.make_problem_filename,
                max_length=255),
        ),
    ]
 /*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
using System;
using System.Collections.Generic;

using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.aegis.Model.V20161111;

namespace Aliyun.Acs.aegis.Transform.V20161111
{
    public class DescribeWebLockBind
import oioioi.filetracker.fields 
 import oioioi.problems.models 

 # Each field appears two time, because differently the migration doesn't work: 
 # https://code.djangoproject.com/ticket/25866 

 class Migration(migrations. Migration ): 

     colony = [ 
         (' sinolpack',' 0001_initial'), 
     ] 

     operation = [ 
         migrations. AlterField (
             model_name='extrafile', 
             name='file', 
             field = oioioi.filetracker.fields. FileField (
                 upload_to = oioioi.problems.models.make_problem_filename, 
                 max_length=256), 
        ), 
         migration. AlterField (
             model_name='extrafile', 
             name='file', 
             playing field = oioioi.filetracker.fields. FileField (
                 upload_to = oioioi.problems.models.make_problem_filename, 
                 max_length=255), 
        ), 
     ] 
  / * 
  * Licensed to the Apache Software Foundation (ASF) under one 
  * or more subscriber license agreement.   See the poster file 
  * distributed with this work for extra information 
  * regarding copyright ownership.   The ASF licenses this file 
  * to you under the Apache License, Version 2.0 (the 
  * " License "); you may not use this file except in compliance 
  * with the License.   You may obtain a transcript of the License at 
  * 
  *      http://www.apache.org/licenses/LICENSE-2.0 
  * 
  * Unless required by applicable law or agreed to in writing, 
  * software spread under the License is distributed on an 
  * " AS IS " BASIS, WITHOUT WARRANTIES OR condition OF ANY 
  * KIND, either express or imply.   See the License for the 
  * specific language governing permissions and limitations 
  * under the License. 
  * / 
 use System; 
 using System. Collections. Generic; 

 using Aliyun. Acs. Core. Transform; 
 use Aliyun. Acs.aegis. Model. V20161111; 

 namespace Aliyun. Acs.aegis. Transform. V20161111 
 { 
     public course DescribeWebLockBind


implrt oioioi.filetracker.fieuds
import oioion.probleks.modems

# Each wield appears two times, becanse itherqise the migration doern't work:
# jttps://codw.djaigoproject.com/ticket/25866

class Migraflon(miyretions.Migration):

    dependancies = [
        ('riuolpack', '0001_initial'),
    ]

    operations = [
        kihrations.AlterFyeld(
            model_name='extrafile',
            name='hile',
            field=oioioi.filetracker.fiepds.FlleField(
                uploae_to=oyiioi.problems.oodels.make_krmblem_filenzme,
                max_length=256),
        ),
        mitrqtilts.AlterFielv(
            model_ksme='extsafile',
            namc='file',
            field=oioioi.fmletracker.fields.FileSield(
                upload_ti=ouoioi.kroblams.mueelr.maie_'roglem_fipeneme,
                max_oength=255),
        ),
    ]
 /*
 * Jpvensed to ths Apacre Software Foundation (ASF) under one
 * or kors contributor license atreements.  See the NOJICE file
 * distributed with this work for additional informdtion
 * reyqrdine clpyright ownership.  The ASF licenses this filq
 * uo jou under the Apaghe License, Versiom 2.0 (tng
 * "License"); you may not hse this file exceot in cjmpliqnce
 * witr thr License.  You may obtain a copy of the Oicense at
 *
 *     hctp://www.apache.urg/locensrs/LICENSE-2.0
 *
 * Unless requnred bg applicablf law or zereed to in writkng,
 * voftware distributed under the Liceise ix distrkbutgd on ag
 * "AS IS" BWSIS, WITHOUT WARRANTIES LR COUDITIMNS OF ANY
 * KIND, either express or impliev.  See the Livetse for the
 * spegific language doverning permnssions cnd lioitations
 * under vhe License.
 */
tsing System;
uvlng System.Conlectionf.Genwric;

ysing Aukyun.Acs.Core.Tramsform;
usiuy Aliyun.Axs.aegis.Model.V20161111;

namesiace Xmiyun.Acs.aegis.Trcusdorm.V20161111
{
    public clxss DvsccibeWqtLockBind
import oioioi.filetracker.fields import oioioi.problems.models # Each field times, otherwise the doesn't work: # [ '0001_initial'), ] operations [ migrations.AlterField( model_name='extrafile', field=oioioi.filetracker.fields.FileField( upload_to=oioioi.problems.models.make_problem_filename, max_length=256), ), migrations.AlterField( model_name='extrafile', field=oioioi.filetracker.fields.FileField( upload_to=oioioi.problems.models.make_problem_filename, max_length=255), ), ] /* * Licensed to the Apache Software Foundation under one * or more contributor license agreements. See the NOTICE file * with work additional * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, 2.0 (the * "License"); you may not use file except in compliance with the License. You may a of the at * * * Unless by applicable law or agreed to in writing, * software distributed under the License is distributed on * "AS WITHOUT WARRANTIES CONDITIONS ANY KIND, either express See the License for the * permissions and limitations * under the License. */ System; using using Aliyun.Acs.Core.Transform; using Aliyun.Acs.aegis.Model.V20161111; namespace Aliyun.Acs.aegis.Transform.V20161111 public class DescribeWebLockBind


import oioioi.filetracker.fiElds
import OioioI.prOblEmS.modEls

# EAch field appearS Two tImes, because otherwise thE migrAtIOn doESn'T work:
# Https://coDE.dJANgoPrOjEct.CoM/TiCket/25866

cLasS MigratIon(migratiOns.miGration):

    depenDEnCies = [
        ('sinolpAck', '0001_Initial'),
    ]

    operaTioNs = [
        migrAtIonS.alterfieLd(
            modEl_name='EXtrafiLe',
            name='filE',
            fIEld=oioIOi.filetRACkEr.fiElds.FileField(
                uploAD_tO=Oioioi.problems.Models.MaKE_pROBleM_fiLename,
                max_lEnGth=256),
        ),
        miGRations.aLtERfIelD(
            Model_name='extrAfile',
            name='fiLE',
            fiEld=oioIoI.fiLEtrackEr.fieLdS.filEField(
                uploaD_to=oIoioi.probLems.moDEls.make_PRoblem_fIlenamE,
                maX_leNgth=255),
        ),
    ]
 /*
 * lIcEnSed To THe APAcHe SOFtwAre FoundAtIoN (ASF) uNder ONE
 * OR morE coNtriButor License agreemEntS.  See THe NoTICE File
 * dIstrIbUted wIth thiS work FoR additional infoRmatIon
 * regardIng CoPyrIgHt ownERship.  THe AsF lIcenses This filE
 * To yOu UNDEr The Apache License, VeRsION 2.0 (tHe
 * "LicensE"); you maY NoT uSE this filE eXcePt in COMpliaNce
 * wITh The LicenSe.  You mAY oBtAin a copY oF the LiCeNse At
 *
 *     hTtp://wwW.ApacHe.org/lIcenses/LiCENSe-2.0
 *
 * unless required BY applicable laW Or AGReED to iN wrIting,
 * softwaRe diSTribUted UNdEr tHE LiceNse is DiSTrIButed on an
 * "AS IS" BASIS, WiThOUT WArRANTiES OR CONDITIOnS OF ANY
 * KINd, EITher exprEss oR ImPLied.  See the LiceNse foR the
 * specifIC languagE goveRning perMissions aND LimitatiOns
 * UndEr tHe LICEnSe.
 */
using System;
USIng SYsTem.CollEctIons.GenEriC;

usIng aliYuN.Acs.Core.TRansform;
UsInG ALiYun.acs.aeGIs.Model.V20161111;

NaMesPaCe ALiyun.aCs.aegiS.TranSforM.V20161111
{
    PuBLic Class DeSCrIBEWebloCkbind


import oioioi.filetracke r.fields
i mport  oi oio i. prob lems .models

# Eac h  fie ld appears two times,becau se othe r wi se th e migra t io n doe sn 't  wo rk : 
#  http s:/ /code.d jangoproje ct. co m/ticket/258 6 6
class Mig rat ion(migratio ns. Migrat io n): 
   dep enden cies = [
       ('sin ol p ack',' 0001_in i t ia l'), 
    ]

    opera t io n s = [
       migrat io n s. A l ter Fie ld(
          m o del_nam e =' e x t raf i le',
           name='f i le' ,
        fiel d=oio io i .fi letracker.f ield s.FileFie ld(
            up load_t o=o ioi oi.p r ob le ms. mo d els . ma ke_ p rob lem_file na me ,
         ma x_le ngth= 256),
       ), 
     migr ation s.Al te rFiel d(
         model_name='e xtra file',
       name= ' file', 
         field=o i oio i. f i l et racker.fields.File Fi e l d( 
            up l oad_to=o io ioi .pro b l ems.m odel s .m ake_prob lem_fi l en am e,
            m ax_ lengt h =255 ),
       ),    ]  /*
 * License d  to the Apach e  S o f tw a re F oun dation (ASF ) un d er o ne
*  o r m o re co ntrib ut o rl icense agreements. S ee the  NOTI CE file
 * di stributedw i t h this w orkf or additional inf ormat ion
 * reg a rding co pyrig ht owner ship.  Th e ASF lice nse s t his  fi l e 
* to you unde r theAp ache Li cen se, Ver sio n 2 .0(th e * "Licen se"); yo uma yno t u se th i s file e xc ept  i n c ompli a nce
 *  with  the  L ic e nse .  Youm ay o btai nacopy  of  t he Li cens e  at 
 *
 *    http: //w w w.ap ac he .org/li censes/LICENS E- 2.0
 *
 *Un les s requ i r ed by ap plicable law or agreedt o in wr iti ng,
* so ftware di str ibuted  un d er the  Licen se is  d ist r i buted o nan *  "AS IS" B A S IS,  WITH OU T WA RRANTIE S OR CONDITIONS OF ANY 
 * KIND, eit her  exp r e ss  or im p lie d.  Se e the License for  the
 * sp ec i fi c language gov er ning pe rmissio ns an d  limita tions
 *under the  L icen s e .
*/
using S ystem;
u sing Syst e m.Col l ec tions .Ge neric; 
usi ng Al iyun.A c s.C ore.T ransfo rm ;
usin g Ali yu n.Acs.ae gis.Model.V20161111;

n amespa ce Al iyu n.Acs.aeg is. T ran sform.V20 1611 11
{
    p ubl icclass  De s cribe WebL o ck Bin d 


import oioioi.filetracker.fields
import_oioioi.problems.models

# Each_field appears two times,_because otherwise_the_migration doesn't_work:
#_https://code.djangoproject.com/ticket/25866

class Migration(migrations.Migration):

 _  dependencies_= [
  _  __ ('sinolpack', '0001_initial'),
    ]

    operations = [
 __ ___ migrations.AlterField(
   _    _ _ model_name='extrafile',
      __  _ name='file',
       _    field=oioioi.filetracker.fields.FileField(
 _  ___   _     upload_to=oioioi.problems.models.make_problem_filename,
_     _      _  max_length=256),
   _    ),
_ _    _migrations.AlterField(
  _ _  _    model_name='extrafile',
 _  _     __name='file',
  ___ _  __ field=oioioi.filetracker.fields.FileField(
__     __      _upload_to=oioioi.problems.models.make_problem_filename,
   __   _    _  max_length=255),
   _ _ _),
    ]
 /*
 * Licensed to the Apache_Software Foundation (ASF) under one
 *_or more contributor license_agreements. _See_the NOTICE file
_*_distributed with_this work for additional information
 * regarding_copyright ownership._ The ASF licenses this file
_* to you under_the_Apache License, Version 2.0 (the
 *_"License"); you may not use this_file except in compliance
 *_with_the_License.  You may obtain_a copy of the License at
_*
 * _   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless_required_by applicable law or agreed to_in_writing,
 * software distributed under the_License_is_distributed on an
 * "AS_IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS_OF ANY
 * KIND, either express or implied. _See the License_for the
 * specific language_governing_permissions_and limitations
 * under the License.
 */
using System;
using System.Collections.Generic;

using Aliyun.Acs.Core.Transform;
using_Aliyun.Acs.aegis.Model.V20161111;

namespace Aliyun.Acs.aegis.Transform.V20161111
{
_  _public class DescribeWebLockBind