From 62243b568dbb3b1c29f990e4883e5f8d5300fc17 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Wed, 17 Mar 2021 15:33:34 +0100 Subject: [PATCH] Init hacking --- .gitignore | 1 + manage.py | 25 ++++++++++++++ server/__init__.py | 0 server/__pycache__/__init__.cpython-39.pyc | Bin 0 -> 167 bytes server/__pycache__/admin.cpython-39.pyc | Bin 0 -> 262 bytes server/__pycache__/models.cpython-39.pyc | Bin 0 -> 251 bytes server/__pycache__/urls.cpython-39.pyc | Bin 0 -> 531 bytes server/__pycache__/wsgi.cpython-39.pyc | Bin 0 -> 526 bytes server/admin.py | 2 ++ server/migrations/0001_initial.py | 31 ++++++++++++++++++ server/migrations/0002_auto_20210315_1108.py | 17 ++++++++++ server/migrations/0003_delete_todo.py | 16 +++++++++ server/migrations/__init__.py | 0 .../__pycache__/0001_initial.cpython-39.pyc | Bin 0 -> 1151 bytes .../0002_auto_20210315_1108.cpython-39.pyc | Bin 0 -> 595 bytes .../0003_delete_todo.cpython-39.pyc | Bin 0 -> 513 bytes .../__pycache__/__init__.cpython-39.pyc | Bin 0 -> 178 bytes server/models.py | 2 ++ server/urls.py | 12 +++++++ server/wsgi.py | 17 ++++++++++ settings.yml | 22 +++++++++++++ 21 files changed, 145 insertions(+) create mode 100644 .gitignore create mode 100755 manage.py create mode 100644 server/__init__.py create mode 100644 server/__pycache__/__init__.cpython-39.pyc create mode 100644 server/__pycache__/admin.cpython-39.pyc create mode 100644 server/__pycache__/models.cpython-39.pyc create mode 100644 server/__pycache__/urls.cpython-39.pyc create mode 100644 server/__pycache__/wsgi.cpython-39.pyc create mode 100644 server/admin.py create mode 100644 server/migrations/0001_initial.py create mode 100644 server/migrations/0002_auto_20210315_1108.py create mode 100644 server/migrations/0003_delete_todo.py create mode 100644 server/migrations/__init__.py create mode 100644 server/migrations/__pycache__/0001_initial.cpython-39.pyc create mode 100644 server/migrations/__pycache__/0002_auto_20210315_1108.cpython-39.pyc create mode 100644 server/migrations/__pycache__/0003_delete_todo.cpython-39.pyc create mode 100644 server/migrations/__pycache__/__init__.cpython-39.pyc create mode 100644 server/models.py create mode 100644 server/urls.py create mode 100644 server/wsgi.py create mode 100644 settings.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b6edfe9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/static/ diff --git a/manage.py b/manage.py new file mode 100755 index 0000000..8cc4065 --- /dev/null +++ b/manage.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +import os +import sys +from djangoldp.conf import ldpsettings + +if __name__ == "__main__": + + ldpsettings.configure('settings.yml') + + try: + from django.core.management import execute_from_command_line + except ImportError: + # The above import may fail for some other reason. Ensure that the + # issue is really that Django is missing to avoid masking other + # exceptions on Python 2. + try: + import django + except ImportError: + raise ImportError( + "Couldn't import Django. Are you sure it's installed and " + "available on your PYTHONPATH environment variable? Did you " + "forget to activate a virtual environment?" + ) + raise + execute_from_command_line(sys.argv) diff --git a/server/__init__.py b/server/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/server/__pycache__/__init__.cpython-39.pyc b/server/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b995e70309a6494f110f23eb71abe8ac88f517bc GIT binary patch literal 167 zcmYe~<>g`kf*@Ym1Q7igL?8o3AjbiSi&=m~3PUi1CZpdwm!F%NtY2J`SX7dkmz0xVp`TlslTuKeT2z)=qz|Ry e<1_OzOXB183My}L*yQG?l;)(`fo%B<#0&t11}Y5z literal 0 HcmV?d00001 diff --git a/server/__pycache__/admin.cpython-39.pyc b/server/__pycache__/admin.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0de04df153cf4e3ef24e038bb807b4c161b0b4dd GIT binary patch literal 262 zcmYjKOA5j;5KY=DB33Wp1-fa_wTMDDf~ermm1z^SnomjU?*iV%D|PG2E4Xq}T{tlF z-aO{Lp<&oYQ1{_-I|qEa<-a^wCeXGIgCT|ml6Zr$AJ;QQ AkN^Mx literal 0 HcmV?d00001 diff --git a/server/__pycache__/models.cpython-39.pyc b/server/__pycache__/models.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ccbc067800ad8edc513cf86b3c4efcdf8d01f81 GIT binary patch literal 251 zcmYk0F%H5o3`LWsAV5^&09>F;BbX8Dj06m9ok*Jq3Q1EXEzm1)6Ry;ii7PPSPzEg7 z|9#8)G7Ewcg1XPQ`xx};%zt@cVrV;s!4bz2DV$*J*pr?j2>~WM6#6f?Kp}4XN^>DC zP;c#M6Z-9tpIC9w5l@XvY$u(Uyo|bQLtyRPPh@*JpiRw#@Jep4 zx>uk;H%=%JBhBY;el*|ME(e1iLCbcgH#17eUmtw67=r_JBM}&3loLSS^SDy-P6sIHhF>zP0XoFAju48i@3rw-U;Br0 zpTd5Y)%C4Td@?e%1sC~ET!y$PtpzQOi;pKqS0}D}J~=);oLyaF#(Eo&CmFWNg literal 0 HcmV?d00001 diff --git a/server/__pycache__/wsgi.cpython-39.pyc b/server/__pycache__/wsgi.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0301e0023a73f3ee456517c7a573b65a3fba4833 GIT binary patch literal 526 zcmYjOu};G<5VhSV4Q&b?5Mtp2x-`Iu5Q2>fggPLyl#m?3#jz{fX(=oJzzie5R4shfz`N}DOfI}n{s(WU$vDI!@xnAE_wwO$Y0S)`xk>4+rUjr}Wt~ zS|9+Xf|?bq<^^Z1%vD%K-v$su^jiQCvQ_+RSj51846^tQ`2-pF!&)wka8ftcC$$Dt z_GQ(ceK^`Wp3-N3rv-z8K~QjDMYsrx2;)@(9761^`oL&L5JR$$<{WxBSPfUBPRpRb z4@oy5yD`}eVYKHYk2{&cV9tCUZ+jeNC5Ka#ebiE6E6vwr=BMVGcIYT~dGO6^jo zQ`rCs4pXziY-_c^|7b5PVvp)7^e zDM%}33g3rIJ9yN>RLmWkV@4~kkxC~(Z{AVcGDf`?x23{n;g-G+D1abf7W+^D_@r8j zW`RDTYSEGBwZt3Wt90XxR))19Lf;oN>x`(Je{=*;ZqU@y+U^F$fE%~WLUT&yKAB5Y zV0}+-x(oI)oBDp)aa@*uSeA6(whC!KF3VS2q1s|e>d8hr>Wm*#IBWo$N}@HqjX8SW zwX!4Cgso=qjOf2?Gx-6m2!mFzF==P~{lyPI8Fe@uf1|ZR(Hu>mFNHa5Cl}PJD_P?~ z9BM*zcoBaGCZ{;v^7iL^scXyuD%AgxY zH!DB>?w?wIet!O>Ji`eQXd-U1QY3cKbM^VH$KV_$EO7nyb-|_)xH2;hKjox+k vS#k&X3}ziW2STRrSvZ?_4KP^?qD^rR=de2`o$r5j=)>17owhZbvVQnKu)kkJ literal 0 HcmV?d00001 diff --git a/server/migrations/__pycache__/0002_auto_20210315_1108.cpython-39.pyc b/server/migrations/__pycache__/0002_auto_20210315_1108.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..72cf4a65bfcb7274e533a0d1b851a98484d91d83 GIT binary patch literal 595 zcmYjNv2xTf5S47%ce%MR!!Ymx42>yb`xs^@7$#IyNea4agyP*?bjX&GbO|Y_NSmLa zfP{oo|NHL(3>RB=;{VAX{@_)Xq12oub%g z1Mr4{_`x-Y>?Wal4mp9(;@;7J)FO$wM|XiPE~~1lrS5dl%0v+?*!TqSOzljNJ-SwV zKkz8Bm@0snH|MI`V9Wsx28`lD<7J#RwhPW00v4TWG0tp1(m$rTb18?KlyMXXUwVu>@?8 zXed*AEHAD5T&i8Loo#hf`k-9U-Knu(%l67ZKkZ-M9ruElB*;n*jdE43>grYfTGn;- z=AgfFDNW4D{UZwVG`SU-;0a&+6}RKtagoM7*pfi@08Ym>#`-Gq7;};U5fVd|CTWGlfDi)`Q_BET7L&%Ol9I&1PJzy_@*upDS0-M8 zrJR$Z_M|)CkMHjLF77)$f&)EZ%(#qcm$6dt zRbhOOvFBAg`kf?^rj1Q7igL?8o3AjbiSi&=m~3PUi1CZpdwm!F%NtY2J`SX7dkmz0xVp`TlslTuKeT2z)=qz|QX pGt-L_OEUBGiuL2;GxIV_;^XxSDsOSv