-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187 from dpaluch-rp/fix/176
#176 Fix: Sideloaded object not have all included fields
- Loading branch information
Showing
9 changed files
with
213 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM ubuntu:xenial | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV TERM=xterm | ||
|
||
|
||
RUN apt-get -y --force-yes update | ||
RUN apt-get -y --force-yes install locales | ||
|
||
|
||
# Set the locale | ||
RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
# Upgrade packages | ||
RUN apt-get -y --force-yes upgrade | ||
RUN apt-get -y --force-yes install software-properties-common curl git wget unzip nano build-essential autoconf libxml2-dev libssl-dev libbz2-dev libcurl3-dev libjpeg-dev libpng-dev libfreetype6-dev libgmp3-dev libc-client-dev libldap2-dev libmcrypt-dev libmhash-dev freetds-dev libz-dev ncurses-dev libpcre3-dev libsqlite-dev libaspell-dev libreadline6-dev librecode-dev libsnmp-dev libtidy-dev libxslt-dev | ||
RUN apt-get -y --force-yes install ruby-dev debhelper python3-dev devscripts libxml2-dev | ||
|
||
RUN apt-get -y --force-yes install python3-pip python3-setuptools libpython3-dev | ||
RUN apt-get -y --force-yes install python-pip python-setuptools libpython-dev | ||
RUN apt-get install locales | ||
RUN add-apt-repository "deb http://repo.aptly.info/ squeeze main" -y | ||
RUN apt-key adv --keyserver keys.gnupg.net --recv-keys E083A3782A194991 | ||
RUN apt-get update | ||
RUN apt-get -yq --force-yes install dh-virtualenv goaccess aptly | ||
|
||
RUN apt-get install postgresql libpq-dev postgresql-client postgresql-client-common -y | ||
RUN apt-get autoclean | ||
|
||
ADD . /home/ | ||
|
||
WORKDIR /home/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.3 on 2017-07-12 07:59 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('tests', '0004_user_is_dead'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Car', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), # noqa | ||
('name', models.CharField(max_length=60)), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='Country', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), # noqa | ||
('name', models.CharField(max_length=60)), | ||
('short_name', models.CharField(max_length=30)), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='Part', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), # noqa | ||
('name', models.CharField(max_length=60)), | ||
('car', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tests.Car')), # noqa | ||
('country', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tests.Country')), # noqa | ||
], | ||
), | ||
migrations.AddField( | ||
model_name='car', | ||
name='country', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tests.Country'), # noqa | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters