78e254a1d171aab6c4f0fcbf15b4cde813ac14e8,dva/settings.py,,,#,15

Before Change


    else:
        MEDIA_URL = os.environ["MEDIA_URL"]
    STATIC_URL = os.environ.get("STATIC_URL", "/static/")
elif HEROKU_DEPLOY:
    STATIC_URL = os.environ["STATIC_URL"]
    MEDIA_URL = os.environ["MEDIA_URL"]
else:
    STATIC_URL = "/static/"
    MEDIA_URL = "/media/"

DATA_UPLOAD_MAX_MEMORY_SIZE = 26214400

STATIC_ROOT = os.path.join(PROJECT_ROOT, "staticfiles")

After Change


    raise EnvironmentError("You must set MEDIA_URL (e.g. http://s3bucketname.s3-website-us-east-1.amazonaws.com/)"
                           " when launching websever in NFS disabled mode.")

MEDIA_URL = os.environ.get("MEDIA_URL", "/media/")
STATIC_URL = os.environ.get("STATIC_URL", "/static/")
DATA_UPLOAD_MAX_MEMORY_SIZE = 26214400

STATIC_ROOT = os.path.join(PROJECT_ROOT, "staticfiles")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: 78e254a1d171aab6c4f0fcbf15b4cde813ac14e8
Time: 2017-11-06
Author: akshayubhat@gmail.com
File Name: dva/settings.py
Class Name:
Method Name:


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: c330cc618b76a04c0f861102cfad2c73f1bc1c9a
Time: 2018-07-24
Author: vnoroozi@nvidia.com
File Name: open_seq2seq/decoders/convs2s_decoder.py
Class Name: ConvS2SDecoder
Method Name: _decode


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: 8460dd1a57bb7c0390eaeac5ee0dd65ccab85594
Time: 2018-09-24
Author: huyenchip@alumni.stanford.edu
File Name: open_seq2seq/encoders/lm_encoders.py
Class Name: LMEncoder
Method Name: __init__


Project Name: wkentaro/labelme
Commit Name: 7ad8d5c5cf89269d191117c4dd41ce205bc66c8c
Time: 2019-05-15
Author: www.kentaro.wada@gmail.com
File Name: labelme/widgets/label_dialog.py
Class Name: LabelDialog
Method Name: resetFlags