diff --git a/backup.json b/backup.json index 9837c54..8fb543a 100644 --- a/backup.json +++ b/backup.json @@ -1 +1 @@ -[{"id": 6, "topic": {"id": 32, "name": "Now Invisble", "slug": "now-invisble", "description": "

TIme to

", "repository": false, "visible": true, "order": 2, "create_date": "2017-01-17T18:44:24.976186Z", "last_update": "2017-03-08T01:28:52.845818Z"}, "tags": [{"id": 48, "name": "anything"}, {"id": 49, "name": "lsoe"}], "_my_subclass": "webpage", "name": "Doug", "slug": "doug", "brief_description": "

Today

", "show_window": true, "all_students": false, "visible": false, "order": 1, "create_date": "2017-01-23T17:36:14.900287Z", "last_update": "2017-01-24T17:33:39.433016Z", "content": "Freaky man"}, {"id": 1, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 44, "name": "rvenge"}, {"id": 45, "name": "destruct"}], "_my_subclass": "webpage", "name": "Revenge", "slug": "revenge", "brief_description": "

Here Comes

", "show_window": false, "all_students": false, "visible": true, "order": 1, "create_date": "2017-01-20T22:42:16.126657Z", "last_update": "2017-01-30T18:39:30.100600Z", "content": "

Listen Dammit

I do know how to make it better thoug

"}, {"id": 14, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 58, "name": "survive"}, {"id": 59, "name": "brave"}], "_my_subclass": "webpage", "name": "Care", "slug": "care", "brief_description": "

One last minute

", "show_window": true, "all_students": false, "visible": true, "order": 2, "create_date": "2017-01-23T17:59:10.053614Z", "last_update": "2017-01-24T21:53:17.119881Z", "content": "You don't really"}, {"id": 20, "topic": {"id": 32, "name": "Now Invisble", "slug": "now-invisble", "description": "

TIme to

", "repository": false, "visible": true, "order": 2, "create_date": "2017-01-17T18:44:24.976186Z", "last_update": "2017-03-08T01:28:52.845818Z"}, "tags": [{"id": 69, "name": "noine"}, {"id": 70, "name": "nine"}], "_my_subclass": "webpage", "name": "Myself", "slug": "myself", "brief_description": "

Is up to me

", "show_window": false, "all_students": true, "visible": false, "order": 2, "create_date": "2017-01-23T22:59:42.592301Z", "last_update": "2017-01-24T17:34:20.147284Z", "content": "Sold my soul
I brought this all upon myself
Dont stop me now!!
"}, {"id": 3, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 44, "name": "rvenge"}, {"id": 45, "name": "destruct"}], "_my_subclass": "webpage", "name": "Teste 2", "slug": "teste-2", "brief_description": "

Here Comes

", "show_window": true, "all_students": false, "visible": true, "order": 3, "create_date": "2017-01-23T17:17:28.416904Z", "last_update": "2017-01-24T21:53:17.131082Z", "content": "Listen Dammit"}, {"id": 42, "topic": {"id": 32, "name": "Now Invisble", "slug": "now-invisble", "description": "

TIme to

", "repository": false, "visible": true, "order": 2, "create_date": "2017-01-17T18:44:24.976186Z", "last_update": "2017-03-08T01:28:52.845818Z"}, "tags": [{"id": 95, "name": "history"}], "_my_subclass": "webpage", "name": "History goes", "slug": "history-goes", "brief_description": "

How

", "show_window": false, "all_students": false, "visible": false, "order": 4, "create_date": "2017-01-24T21:57:13.600718Z", "last_update": "2017-01-24T21:57:13.812438Z", "content": "

ON

"}, {"id": 4, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 46, "name": "tears"}, {"id": 47, "name": "rain"}], "_my_subclass": "webpage", "name": "Have", "slug": "have", "brief_description": "

Save me

", "show_window": true, "all_students": false, "visible": true, "order": 5, "create_date": "2017-01-23T17:31:58.957439Z", "last_update": "2017-01-24T21:53:17.155196Z", "content": "Haven't"}, {"id": 21, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 71, "name": "candle"}, {"id": 72, "name": "mass"}], "_my_subclass": "webpage", "name": "Each small candle", "slug": "each-small-candle", "brief_description": "

Uhuh

", "show_window": false, "all_students": false, "visible": true, "order": 6, "create_date": "2017-01-24T03:16:17.180365Z", "last_update": "2017-01-24T21:53:17.164135Z", "content": "

Lights a corner of the dark

"}, {"id": 5, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 46, "name": "tears"}, {"id": 47, "name": "rain"}], "_my_subclass": "webpage", "name": "Lose you", "slug": "lose-you", "brief_description": "

Save me

", "show_window": true, "all_students": false, "visible": true, "order": 7, "create_date": "2017-01-23T17:34:29.313661Z", "last_update": "2017-01-24T21:53:17.175261Z", "content": "Haven't you heard about the sirens going down"}, {"id": 16, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 62, "name": "sing"}, {"id": 63, "name": "loud"}], "_my_subclass": "webpage", "name": "Sing", "slug": "sing", "brief_description": "

Talking about

", "show_window": false, "all_students": false, "visible": false, "order": 8, "create_date": "2017-01-23T22:10:39.437832Z", "last_update": "2017-01-24T21:53:17.197911Z", "content": "Sing sing"}, {"id": 49, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 99, "name": ""}], "_my_subclass": "webpage", "name": "Testes", "slug": "testes", "brief_description": "

asd

", "show_window": false, "all_students": false, "visible": true, "order": 9, "create_date": "2017-01-30T18:38:25.741186Z", "last_update": "2017-01-30T18:38:25.878442Z", "content": "

COmon

"}, {"id": 50, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 99, "name": ""}], "_my_subclass": "webpage", "name": "Yellow", "slug": "yellow", "brief_description": "

Vber

", "show_window": false, "all_students": false, "visible": true, "order": 10, "create_date": "2017-01-30T18:39:04.914450Z", "last_update": "2017-01-30T18:39:05.212499Z", "content": "

Flicker Berat

"}, {"id": 58, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 112, "name": "castle"}], "_my_subclass": "webpage", "name": "Berry the castle", "slug": "berry-the-castle", "brief_description": "", "show_window": false, "all_students": true, "visible": true, "order": 15, "create_date": "2017-02-23T15:22:21.044556Z", "last_update": "2017-02-23T15:22:21.371782Z", "content": "

Crush crush crush

"}, {"id": 59, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 109, "name": "teste"}], "_my_subclass": "webpage", "name": "What you get", "slug": "what-you-get", "brief_description": "

To me

", "show_window": false, "all_students": true, "visible": true, "order": 16, "create_date": "2017-02-23T15:23:56.414396Z", "last_update": "2017-02-23T15:23:56.482582Z", "content": "

Let your heart with

"}, {"id": 66, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 116, "name": "Lord"}], "_my_subclass": "webpage", "name": "Last Stand", "slug": "last-stand", "brief_description": "

For the grace of the might of the Lord    

", "show_window": false, "all_students": true, "visible": true, "order": 17, "create_date": "2017-02-24T20:31:26.650857Z", "last_update": "2017-02-24T20:31:26.778340Z", "content": "

Twenty Seven

"}, {"id": 68, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 118, "name": "calling"}], "_my_subclass": "webpage", "name": "Angels calling", "slug": "angels-calling", "brief_description": "

Falling

", "show_window": false, "all_students": true, "visible": true, "order": 18, "create_date": "2017-02-24T20:47:51.687147Z", "last_update": "2017-02-25T01:35:19.427849Z", "content": "

Your name

"}][{"id": 51, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 103, "name": "mirror"}, {"id": 104, "name": "to do"}], "_my_subclass": "ytvideo", "name": "System", "slug": "system", "brief_description": "

Gotta

", "show_window": true, "all_students": true, "visible": true, "order": 11, "create_date": "2017-02-01T21:03:21.123568Z", "last_update": "2017-02-02T23:08:32.570997Z", "url": "https://www.youtube.com/embed/qOrXWhmUbJ0"}][{"id": 41, "topic": {"id": 32, "name": "Now Invisble", "slug": "now-invisble", "description": "

TIme to

", "repository": false, "visible": true, "order": 2, "create_date": "2017-01-17T18:44:24.976186Z", "last_update": "2017-03-08T01:28:52.845818Z"}, "tags": [{"id": 93, "name": "last"}, {"id": 94, "name": "mistake"}], "_my_subclass": "filelink", "name": "Secret", "slug": "secret", "brief_description": "

Do we create a modern myth?

", "show_window": true, "all_students": true, "visible": false, "order": 3, "create_date": "2017-01-24T21:55:44.193797Z", "last_update": "2017-01-24T21:55:44.330406Z", "file_content": "/uploads/files/formulariobolsista.doc.docx"}, {"id": 40, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 91, "name": "end"}, {"id": 92, "name": "tonight"}], "_my_subclass": "filelink", "name": "Alive", "slug": "alive", "brief_description": "

Nothern lights

I'm still

", "show_window": true, "all_students": true, "visible": true, "order": 4, "create_date": "2017-01-24T21:52:58.028122Z", "last_update": "2017-01-30T18:33:25.804307Z", "file_content": "/uploads/files/index.html"}, {"id": 46, "topic": {"id": 32, "name": "Now Invisble", "slug": "now-invisble", "description": "

TIme to

", "repository": false, "visible": true, "order": 2, "create_date": "2017-01-17T18:44:24.976186Z", "last_update": "2017-03-08T01:28:52.845818Z"}, "tags": [{"id": 100, "name": "just"}, {"id": 101, "name": "game"}], "_my_subclass": "filelink", "name": "Personal", "slug": "personal", "brief_description": "

Pray All I can do

Taskani

", "show_window": false, "all_students": false, "visible": false, "order": 6, "create_date": "2017-01-25T02:21:38.618190Z", "last_update": "2017-01-25T02:24:26.061727Z", "file_content": "/uploads/files/jutificativa_voto.pdf"}, {"id": 73, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 125, "name": "Zafkiel"}], "_my_subclass": "filelink", "name": "Lies", "slug": "lies", "brief_description": "", "show_window": false, "all_students": false, "visible": true, "order": 20, "create_date": "2017-04-26T03:03:38.089353Z", "last_update": "2017-04-26T03:03:38.531148Z", "file_content": "/uploads/files/kurumi.png"}][{"id": 53, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 106, "name": "otherside"}], "_my_subclass": "link", "name": "Sorry", "slug": "sorry", "brief_description": "

Hellor

", "show_window": false, "all_students": true, "visible": true, "order": 12, "create_date": "2017-02-02T18:59:06.159653Z", "last_update": "2017-02-02T18:59:06.270167Z", "link_url": "https://www.youtube.com/embed/qOrXWhmUbJ0"}, {"id": 57, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 109, "name": "teste"}], "_my_subclass": "link", "name": "Unravel", "slug": "unravel", "brief_description": "

Co asseru

", "show_window": true, "all_students": true, "visible": true, "order": 14, "create_date": "2017-02-12T04:18:39.836818Z", "last_update": "2017-02-12T04:18:40.083226Z", "link_url": "http://stackoverflow.com/questions/813418/django-set-field-value-after-a-form-is-initialized"}][{"id": 56, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 99, "name": ""}], "_my_subclass": "pdffile", "name": "Legend", "slug": "legend", "brief_description": "", "show_window": false, "all_students": true, "visible": true, "order": 13, "create_date": "2017-02-09T18:29:12.935873Z", "last_update": "2017-02-09T18:29:13.410469Z", "file": "/uploads/files/egz_Ez4GoPW.pdf"}][{"id": 71, "topic": {"id": 32, "name": "Now Invisble", "slug": "now-invisble", "description": "

TIme to

", "repository": false, "visible": true, "order": 2, "create_date": "2017-01-17T18:44:24.976186Z", "last_update": "2017-03-08T01:28:52.845818Z"}, "tags": [{"id": 123, "name": "wastelands"}, {"id": 124, "name": "disapear"}], "item_goal": [{"id": 6, "description": "Wastelands", "ref_value": 50, "order": 1}, {"id": 7, "description": "Arms with no weapons", "ref_value": 55, "order": 2}], "_my_subclass": "goals", "name": "Future", "slug": "future", "brief_description": "", "show_window": false, "all_students": true, "visible": true, "order": 6, "create_date": "2017-03-06T20:11:11.156470Z", "last_update": "2017-03-08T01:29:03.155215Z", "presentation": "

Stands away

", "limit_submission_date": "2017-03-11T20:10:00Z"}, {"id": 70, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 121, "name": "megumin"}, {"id": 122, "name": "kurumin"}], "item_goal": [{"id": 3, "description": "Let me go", "ref_value": 57, "order": 1}, {"id": 4, "description": "Run away", "ref_value": 70, "order": 2}, {"id": 5, "description": "Explosiom", "ref_value": 89, "order": 3}], "_my_subclass": "goals", "name": "Snuff", "slug": "snuff", "brief_description": "

Deserve to have you

", "show_window": false, "all_students": true, "visible": true, "order": 19, "create_date": "2017-03-01T19:07:07.980858Z", "last_update": "2017-03-03T01:16:22.746523Z", "presentation": "

Resembles rage again...

", "limit_submission_date": "2017-03-02T21:05:00Z"}] \ No newline at end of file +[{"id": 1, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 44, "name": "rvenge"}, {"id": 45, "name": "destruct"}], "pendencies_resource": [{"id": 1, "action": "create", "begin_date": "2017-01-21T23:35:00Z", "end_date": null, "limit_date": null}, {"id": 2, "action": "view", "begin_date": "2017-01-20T23:35:00Z", "end_date": "2017-01-31T23:35:00Z", "limit_date": null}], "_my_subclass": "webpage", "name": "Revenge", "slug": "revenge", "brief_description": "

Here Comes

", "show_window": false, "all_students": false, "visible": true, "order": 1, "create_date": "2017-01-20T22:42:16.126657Z", "last_update": "2017-01-30T18:39:30.100600Z", "content": "

Listen Dammit

I do know how to make it better thoug

"}, {"id": 14, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 58, "name": "survive"}, {"id": 59, "name": "brave"}], "pendencies_resource": [], "_my_subclass": "webpage", "name": "Care", "slug": "care", "brief_description": "

One last minute

", "show_window": true, "all_students": false, "visible": true, "order": 2, "create_date": "2017-01-23T17:59:10.053614Z", "last_update": "2017-01-24T21:53:17.119881Z", "content": "You don't really"}, {"id": 3, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 44, "name": "rvenge"}, {"id": 45, "name": "destruct"}], "pendencies_resource": [{"id": 5, "action": "create", "begin_date": "2017-01-24T23:35:00Z", "end_date": null, "limit_date": null}, {"id": 6, "action": "view", "begin_date": "2017-01-24T23:35:00Z", "end_date": "2017-01-31T23:35:00Z", "limit_date": null}], "_my_subclass": "webpage", "name": "Teste 2", "slug": "teste-2", "brief_description": "

Here Comes

", "show_window": true, "all_students": false, "visible": true, "order": 3, "create_date": "2017-01-23T17:17:28.416904Z", "last_update": "2017-01-24T21:53:17.131082Z", "content": "Listen Dammit"}, {"id": 4, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 46, "name": "tears"}, {"id": 47, "name": "rain"}], "pendencies_resource": [], "_my_subclass": "webpage", "name": "Have", "slug": "have", "brief_description": "

Save me

", "show_window": true, "all_students": false, "visible": true, "order": 5, "create_date": "2017-01-23T17:31:58.957439Z", "last_update": "2017-01-24T21:53:17.155196Z", "content": "Haven't"}, {"id": 21, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 71, "name": "candle"}, {"id": 72, "name": "mass"}], "pendencies_resource": [{"id": 7, "action": "view", "begin_date": "2017-01-25T04:07:00Z", "end_date": "2017-02-02T04:07:00Z", "limit_date": null}], "_my_subclass": "webpage", "name": "Each small candle", "slug": "each-small-candle", "brief_description": "

Uhuh

", "show_window": false, "all_students": false, "visible": true, "order": 6, "create_date": "2017-01-24T03:16:17.180365Z", "last_update": "2017-01-24T21:53:17.164135Z", "content": "

Lights a corner of the dark

"}, {"id": 5, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 46, "name": "tears"}, {"id": 47, "name": "rain"}], "pendencies_resource": [], "_my_subclass": "webpage", "name": "Lose you", "slug": "lose-you", "brief_description": "

Save me

", "show_window": true, "all_students": false, "visible": true, "order": 7, "create_date": "2017-01-23T17:34:29.313661Z", "last_update": "2017-01-24T21:53:17.175261Z", "content": "Haven't you heard about the sirens going down"}, {"id": 16, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 62, "name": "sing"}, {"id": 63, "name": "loud"}], "pendencies_resource": [], "_my_subclass": "webpage", "name": "Sing", "slug": "sing", "brief_description": "

Talking about

", "show_window": false, "all_students": false, "visible": false, "order": 8, "create_date": "2017-01-23T22:10:39.437832Z", "last_update": "2017-01-24T21:53:17.197911Z", "content": "Sing sing"}, {"id": 49, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 99, "name": ""}], "pendencies_resource": [{"id": 22, "action": "view", "begin_date": "2017-01-31T19:38:00Z", "end_date": null, "limit_date": null}], "_my_subclass": "webpage", "name": "Testes", "slug": "testes", "brief_description": "

asd

", "show_window": false, "all_students": false, "visible": true, "order": 9, "create_date": "2017-01-30T18:38:25.741186Z", "last_update": "2017-01-30T18:38:25.878442Z", "content": "

COmon

"}, {"id": 50, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 99, "name": ""}], "pendencies_resource": [{"id": 23, "action": "view", "begin_date": "2017-02-03T19:38:00Z", "end_date": null, "limit_date": null}], "_my_subclass": "webpage", "name": "Yellow", "slug": "yellow", "brief_description": "

Vber

", "show_window": false, "all_students": false, "visible": true, "order": 10, "create_date": "2017-01-30T18:39:04.914450Z", "last_update": "2017-01-30T18:39:05.212499Z", "content": "

Flicker Berat

"}, {"id": 58, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 112, "name": "castle"}], "pendencies_resource": [{"id": 27, "action": "view", "begin_date": null, "end_date": null, "limit_date": null}], "_my_subclass": "webpage", "name": "Berry the castle", "slug": "berry-the-castle", "brief_description": "", "show_window": false, "all_students": true, "visible": true, "order": 15, "create_date": "2017-02-23T15:22:21.044556Z", "last_update": "2017-02-23T15:22:21.371782Z", "content": "

Crush crush crush

"}, {"id": 59, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 109, "name": "teste"}], "pendencies_resource": [{"id": 28, "action": "view", "begin_date": null, "end_date": null, "limit_date": null}], "_my_subclass": "webpage", "name": "What you get", "slug": "what-you-get", "brief_description": "

To me

", "show_window": false, "all_students": true, "visible": true, "order": 16, "create_date": "2017-02-23T15:23:56.414396Z", "last_update": "2017-02-23T15:23:56.482582Z", "content": "

Let your heart with

"}, {"id": 66, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 116, "name": "Lord"}], "pendencies_resource": [{"id": 30, "action": "view", "begin_date": null, "end_date": null, "limit_date": null}], "_my_subclass": "webpage", "name": "Last Stand", "slug": "last-stand", "brief_description": "

For the grace of the might of the Lord    

", "show_window": false, "all_students": true, "visible": true, "order": 17, "create_date": "2017-02-24T20:31:26.650857Z", "last_update": "2017-02-24T20:31:26.778340Z", "content": "

Twenty Seven

"}, {"id": 68, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 118, "name": "calling"}], "pendencies_resource": [{"id": 31, "action": "view", "begin_date": "2017-02-28T23:01:00Z", "end_date": "2017-03-01T23:02:00Z", "limit_date": null}], "_my_subclass": "webpage", "name": "Angels calling", "slug": "angels-calling", "brief_description": "

Falling

", "show_window": false, "all_students": true, "visible": true, "order": 18, "create_date": "2017-02-24T20:47:51.687147Z", "last_update": "2017-02-25T01:35:19.427849Z", "content": "

Your name

"}][{"id": 51, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 103, "name": "mirror"}, {"id": 104, "name": "to do"}], "pendencies_resource": [{"id": 24, "action": "view", "begin_date": "2017-02-01T21:59:00Z", "end_date": null, "limit_date": null}], "_my_subclass": "ytvideo", "name": "System", "slug": "system", "brief_description": "

Gotta

", "show_window": true, "all_students": true, "visible": true, "order": 11, "create_date": "2017-02-01T21:03:21.123568Z", "last_update": "2017-02-02T23:08:32.570997Z", "url": "https://www.youtube.com/embed/qOrXWhmUbJ0"}][{"id": 40, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 91, "name": "end"}, {"id": 92, "name": "tonight"}], "pendencies_resource": [{"id": 21, "action": "view", "begin_date": "2017-01-31T19:33:00Z", "end_date": null, "limit_date": null}], "_my_subclass": "filelink", "name": "Alive", "slug": "alive", "brief_description": "

Nothern lights

I'm still

", "show_window": true, "all_students": true, "visible": true, "order": 4, "create_date": "2017-01-24T21:52:58.028122Z", "last_update": "2017-01-30T18:33:25.804307Z", "file_content": "/uploads/files/index.html"}, {"id": 73, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 125, "name": "Zafkiel"}], "pendencies_resource": [], "_my_subclass": "filelink", "name": "Lies", "slug": "lies", "brief_description": "", "show_window": false, "all_students": false, "visible": true, "order": 20, "create_date": "2017-04-26T03:03:38.089353Z", "last_update": "2017-04-26T03:03:38.531148Z", "file_content": "/uploads/files/kurumi.png"}][{"id": 53, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 106, "name": "otherside"}], "pendencies_resource": [], "_my_subclass": "link", "name": "Sorry", "slug": "sorry", "brief_description": "

Hellor

", "show_window": false, "all_students": true, "visible": true, "order": 12, "create_date": "2017-02-02T18:59:06.159653Z", "last_update": "2017-02-02T18:59:06.270167Z", "link_url": "https://www.youtube.com/embed/qOrXWhmUbJ0"}, {"id": 57, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 109, "name": "teste"}], "pendencies_resource": [], "_my_subclass": "link", "name": "Unravel", "slug": "unravel", "brief_description": "

Co asseru

", "show_window": true, "all_students": true, "visible": true, "order": 14, "create_date": "2017-02-12T04:18:39.836818Z", "last_update": "2017-02-12T04:18:40.083226Z", "link_url": "http://stackoverflow.com/questions/813418/django-set-field-value-after-a-form-is-initialized"}][{"id": 56, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 99, "name": ""}], "pendencies_resource": [], "_my_subclass": "pdffile", "name": "Legend", "slug": "legend", "brief_description": "", "show_window": false, "all_students": true, "visible": true, "order": 13, "create_date": "2017-02-09T18:29:12.935873Z", "last_update": "2017-02-09T18:29:13.410469Z", "file": "/uploads/files/egz_Ez4GoPW.pdf"}][{"id": 70, "topic": {"id": 30, "name": "Reposit\u00f3rio", "slug": "repositorio", "description": "

Testing

", "repository": true, "visible": false, "order": 1, "create_date": "2017-01-17T18:36:32.918370Z", "last_update": "2017-01-17T21:48:07.630468Z"}, "tags": [{"id": 121, "name": "megumin"}, {"id": 122, "name": "kurumin"}], "item_goal": [{"id": 3, "description": "Let me go", "ref_value": 57, "order": 1}, {"id": 4, "description": "Run away", "ref_value": 70, "order": 2}, {"id": 5, "description": "Explosiom", "ref_value": 89, "order": 3}], "pendencies_resource": [{"id": 33, "action": "view", "begin_date": "2017-03-01T19:06:00Z", "end_date": "2017-03-02T00:06:00Z", "limit_date": "2017-03-02T19:06:00Z"}], "_my_subclass": "goals", "name": "Snuff", "slug": "snuff", "brief_description": "

Deserve to have you

", "show_window": false, "all_students": true, "visible": true, "order": 19, "create_date": "2017-03-01T19:07:07.980858Z", "last_update": "2017-03-03T01:16:22.746523Z", "presentation": "

Resembles rage again...

", "limit_submission_date": "2017-03-02T21:05:00Z"}] \ No newline at end of file diff --git a/file_link/serializers.py b/file_link/serializers.py index 9f7ca4b..9e9b747 100644 --- a/file_link/serializers.py +++ b/file_link/serializers.py @@ -2,13 +2,26 @@ from rest_framework import serializers from subjects.serializers import TagSerializer from topics.serializers import TopicSerializer +from pendencies.serializers import PendenciesSerializer +from students_group.serializers import StudentsGroupSerializer from .models import FileLink class SimpleFileLinkSerializer(serializers.ModelSerializer): topic = TopicSerializer() tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) class Meta: model = FileLink exclude = ('students', 'groups',) + +class CompleteFileLinkSerializer(serializers.ModelSerializer): + topic = TopicSerializer() + tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) + groups = StudentsGroupSerializer(many = True) + + class Meta: + model = FileLink + fields = '__all__' diff --git a/goals/serializers.py b/goals/serializers.py index 416b942..23f03f7 100644 --- a/goals/serializers.py +++ b/goals/serializers.py @@ -2,6 +2,8 @@ from rest_framework import serializers from subjects.serializers import TagSerializer from topics.serializers import TopicSerializer +from pendencies.serializers import PendenciesSerializer +from students_group.serializers import StudentsGroupSerializer from .models import Goals, GoalItem @@ -14,7 +16,18 @@ class SimpleGoalSerializer(serializers.ModelSerializer): topic = TopicSerializer() tags = TagSerializer(many = True) item_goal = GoalItemSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) class Meta: model = Goals exclude = ('students', 'groups',) + +class CompleteGoalSerializer(serializers.ModelSerializer): + topic = TopicSerializer() + tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) + groups = StudentsGroupSerializer(many = True) + + class Meta: + model = Goals + fields = '__all__' \ No newline at end of file diff --git a/links/serializers.py b/links/serializers.py index c356d66..e0476bb 100644 --- a/links/serializers.py +++ b/links/serializers.py @@ -2,13 +2,26 @@ from rest_framework import serializers from subjects.serializers import TagSerializer from topics.serializers import TopicSerializer +from pendencies.serializers import PendenciesSerializer +from students_group.serializers import StudentsGroupSerializer from .models import Link class SimpleLinkSerializer(serializers.ModelSerializer): topic = TopicSerializer() tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) class Meta: model = Link exclude = ('students', 'groups',) + +class CompleteLinkSerializer(serializers.ModelSerializer): + topic = TopicSerializer() + tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) + groups = StudentsGroupSerializer(many = True) + + class Meta: + model = Link + fields = '__all__' \ No newline at end of file diff --git a/pdf_file/serializers.py b/pdf_file/serializers.py index 81161a8..871d103 100644 --- a/pdf_file/serializers.py +++ b/pdf_file/serializers.py @@ -2,13 +2,26 @@ from rest_framework import serializers from subjects.serializers import TagSerializer from topics.serializers import TopicSerializer +from pendencies.serializers import PendenciesSerializer +from students_group.serializers import StudentsGroupSerializer from .models import PDFFile class SimplePDFFileSerializer(serializers.ModelSerializer): topic = TopicSerializer() tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) class Meta: model = PDFFile exclude = ('students', 'groups',) + +class CompletePDFFileSerializer(serializers.ModelSerializer): + topic = TopicSerializer() + tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) + groups = StudentsGroupSerializer(many = True) + + class Meta: + model = PDFFile + fields = '__all__' \ No newline at end of file diff --git a/pendencies/serializers.py b/pendencies/serializers.py new file mode 100644 index 0000000..66a0620 --- /dev/null +++ b/pendencies/serializers.py @@ -0,0 +1,8 @@ +from rest_framework import serializers + +from .models import Pendencies + +class PendenciesSerializer(serializers.ModelSerializer): + class Meta: + model = Pendencies + exclude = ('resource',) diff --git a/students_group/serializers.py b/students_group/serializers.py new file mode 100644 index 0000000..833bcb3 --- /dev/null +++ b/students_group/serializers.py @@ -0,0 +1,8 @@ +from rest_framework import serializers + +from .models import StudentsGroup + +class StudentsGroupSerializer(serializers.ModelSerializer): + class Meta: + model = StudentsGroup + fields = '__all__' diff --git a/subjects/templates/subjects/backup.html b/subjects/templates/subjects/backup.html index 3a78aed..850c38a 100644 --- a/subjects/templates/subjects/backup.html +++ b/subjects/templates/subjects/backup.html @@ -67,7 +67,7 @@
{% trans "Please select below the topics and resources which you want to backup:" %}
-
+ {% csrf_token %} {% for topic in topics %} @@ -90,6 +90,15 @@
{% endfor %} + {% if request.user.is_staff %} +
+
+ +
+ {% endif %} +
diff --git a/subjects/urls.py b/subjects/urls.py index 94317c9..0c74ebc 100644 --- a/subjects/urls.py +++ b/subjects/urls.py @@ -10,7 +10,7 @@ urlpatterns = [ url(r'^update/(?P[\w_-]+)/$', views.SubjectUpdateView.as_view(), name='update'), url(r'^delete/(?P[\w_-]+)/$', views.SubjectDeleteView.as_view(), name='delete'), url(r'^backup/(?P[\w_-]+)/$', views.Backup.as_view(), name='backup'), - url(r'^do_backup/$', views.realize_backup, name='do_backup'), + url(r'^do_backup/(?P[\w_-]+)/$', views.realize_backup, name='do_backup'), url(r'^view/(?P[\w_-]+)/$', views.SubjectDetailView.as_view(), name='view'), url(r'^view/(?P[\w_-]+)/(?P[\w_-]+)/$', views.SubjectDetailView.as_view(), name='topic_view'), url(r'^subscribe/(?P[\w_-]+)/$', views.SubjectSubscribeView.as_view(), name='subscribe'), diff --git a/subjects/views.py b/subjects/views.py index b6262a3..8a6126f 100644 --- a/subjects/views.py +++ b/subjects/views.py @@ -41,17 +41,18 @@ from itertools import chain from django.core import serializers from rest_framework.renderers import JSONRenderer -from file_link.serializers import SimpleFileLinkSerializer +from users.serializers import UserSerializer +from file_link.serializers import SimpleFileLinkSerializer, CompleteFileLinkSerializer from file_link.models import FileLink -from goals.serializers import SimpleGoalSerializer +from goals.serializers import SimpleGoalSerializer, CompleteGoalSerializer from goals.models import Goals -from links.serializers import SimpleLinkSerializer +from links.serializers import SimpleLinkSerializer, CompleteLinkSerializer from links.models import Link -from pdf_file.serializers import SimplePDFFileSerializer +from pdf_file.serializers import SimplePDFFileSerializer, CompletePDFFileSerializer from pdf_file.models import PDFFile -from youtube_video.serializers import SimpleYTVideoSerializer +from youtube_video.serializers import SimpleYTVideoSerializer, CompleteYTVideoSerializer from youtube_video.models import YTVideo -from webpage.serializers import SimpleWebpageSerializer +from webpage.serializers import SimpleWebpageSerializer, CompleteWebpageSerializer from webpage.models import Webpage from amadeus.permissions import has_category_permissions, has_subject_permissions, has_subject_view_permissions, has_resource_permissions @@ -771,8 +772,9 @@ class Backup(LoginRequiredMixin, ListView): return context @login_required -def realize_backup(request): +def realize_backup(request, subject): resources_ids = request.POST.getlist("resource[]") + participants = request.POST.get('participants', False) resource_files_subdir = "files" zip_filename = "backup.zip" @@ -781,37 +783,59 @@ def realize_backup(request): zf = zipfile.ZipFile(s, "w", compression = zipfile.ZIP_DEFLATED) - resources = Resource.objects.filter(id__in = resources_ids) + webpages = Webpage.objects.filter(id__in = resources_ids) + ytvideos = YTVideo.objects.filter(id__in = resources_ids) + filelinks = FileLink.objects.filter(id__in = resources_ids) + links = Link.objects.filter(id__in = resources_ids) + pdffiles = PDFFile.objects.filter(id__in = resources_ids) + goals = Goals.objects.filter(id__in = resources_ids) - for resource in resources: - if resource._my_subclass == "filelink": - fdir, fname = os.path.split(resource.filelink.file_content.path) + + for filelink in filelinks: + if os.path.exists(filelink.file_content.path): + fdir, fname = os.path.split(filelink.file_content.path) zip_path = os.path.join(resource_files_subdir, fname) # Add file, at correct path - zf.write(resource.filelink.file_content.path, zip_path) - elif resource._my_subclass == "pdffile": - fdir, fname = os.path.split(resource.pdffile.file.path) + zf.write(filelink.file_content.path, zip_path) + + for pdffile in pdffiles: + if os.path.exists(pdffile.file.path): + fdir, fname = os.path.split(pdffile.file.path) zip_path = os.path.join(resource_files_subdir, fname) # Add file, at correct path - zf.write(resource.pdffile.file.path, zip_path) - - webpages = Webpage.objects.filter(id__in = resources_ids) - ytvideos = YTVideo.objects.filter(id__in = resources_ids) - filelinks = FileLink.objects.filter(id__in = resources_ids) - links = Link.objects.filter(id__in = resources_ids) - pdffiles = PDFFile.objects.filter(id__in = resources_ids) - goals = Goals.objects.filter(id__in = resources_ids) + zf.write(pdffile.file.path, zip_path) file = open("backup.json", "w") - serializer_w = SimpleWebpageSerializer(webpages, many = True) - serializer_y = SimpleYTVideoSerializer(ytvideos, many = True) - serializer_f = SimpleFileLinkSerializer(filelinks, many = True) - serializer_l = SimpleLinkSerializer(links, many = True) - serializer_p = SimplePDFFileSerializer(pdffiles, many = True) - serializer_g = SimpleGoalSerializer(goals, many = True) + if participants: + participants = User.objects.filter(subject_student__slug = subject) + + for user in participants: + if os.path.exists(user.image.path): + fdir, fname = os.path.split(user.image.path) + zip_path = os.path.join('users', fname) + + zf.write(user.image.path, zip_path) + + serializer_u = UserSerializer(participants, many = True) + + json.dump(serializer_u.data, file) + + serializer_w = CompleteWebpageSerializer(webpages, many = True) + serializer_y = CompleteYTVideoSerializer(ytvideos, many = True) + serializer_f = CompleteFileLinkSerializer(filelinks, many = True) + serializer_l = CompleteLinkSerializer(links, many = True) + serializer_p = CompletePDFFileSerializer(pdffiles, many = True) + serializer_g = CompleteGoalSerializer(goals, many = True) + else: + serializer_w = SimpleWebpageSerializer(webpages, many = True) + serializer_y = SimpleYTVideoSerializer(ytvideos, many = True) + serializer_f = SimpleFileLinkSerializer(filelinks, many = True) + serializer_l = SimpleLinkSerializer(links, many = True) + serializer_p = SimplePDFFileSerializer(pdffiles, many = True) + serializer_g = SimpleGoalSerializer(goals, many = True) json.dump(serializer_w.data, file) json.dump(serializer_y.data, file) diff --git a/users/serializers.py b/users/serializers.py index c719bc5..e2dd3c8 100644 --- a/users/serializers.py +++ b/users/serializers.py @@ -5,4 +5,4 @@ class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('username','email','image','last_update','date_created','last_name','social_name', - 'is_staff','is_active') + 'is_staff','is_active','description') diff --git a/webpage/serializers.py b/webpage/serializers.py index 9e15dca..52810b3 100644 --- a/webpage/serializers.py +++ b/webpage/serializers.py @@ -2,13 +2,26 @@ from rest_framework import serializers from subjects.serializers import TagSerializer from topics.serializers import TopicSerializer +from pendencies.serializers import PendenciesSerializer +from students_group.serializers import StudentsGroupSerializer from .models import Webpage class SimpleWebpageSerializer(serializers.ModelSerializer): topic = TopicSerializer() tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) class Meta: model = Webpage exclude = ('students', 'groups',) + +class CompleteWebpageSerializer(serializers.ModelSerializer): + topic = TopicSerializer() + tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) + groups = StudentsGroupSerializer(many = True) + + class Meta: + model = Webpage + fields = '__all__' \ No newline at end of file diff --git a/youtube_video/serializers.py b/youtube_video/serializers.py index df4df49..bcef730 100644 --- a/youtube_video/serializers.py +++ b/youtube_video/serializers.py @@ -2,13 +2,26 @@ from rest_framework import serializers from subjects.serializers import TagSerializer from topics.serializers import TopicSerializer +from pendencies.serializers import PendenciesSerializer +from students_group.serializers import StudentsGroupSerializer from .models import YTVideo class SimpleYTVideoSerializer(serializers.ModelSerializer): topic = TopicSerializer() tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) class Meta: model = YTVideo exclude = ('students', 'groups',) + +class CompleteYTVideoSerializer(serializers.ModelSerializer): + topic = TopicSerializer() + tags = TagSerializer(many = True) + pendencies_resource = PendenciesSerializer(many = True) + groups = StudentsGroupSerializer(many = True) + + class Meta: + model = YTVideo + fields = '__all__' \ No newline at end of file -- libgit2 0.21.2