Current Django Version: 1.11
Methods that return new QuerySets
Can be chained:
Entry.objects.filter(**kwargs).exclude(**kwargs).order_by(**kwargs)
``` | |
____ _ _ | |
/ ___|___ _ __ ___ _ __ _ __ ___| |__ ___ _ __ ___(_)_ _____ | |
| | / _ \| '_ ` _ \| '_ \| '__/ _ \ '_ \ / _ \ '_ \/ __| \ \ / / _ \ | |
| |__| (_) | | | | | | |_) | | | __/ | | | __/ | | \__ \ |\ V / __/ | |
\____\___/|_| |_| |_| .__/|_| \___|_| |_|\___|_| |_|___/_| \_/ \___| | |
|_| | |
_ _ ____ _ _ _ _ | |
| | (_)_ __ _ ___ __ / ___| |__ ___ __ _| |_ ___| |__ ___ ___| |_ | |
| | | | '_ \| | | \ \/ / | | | '_ \ / _ \/ _` | __/ __| '_ \ / _ \/ _ \ __| |
This script to unfollow the following on your Github account automatically.
[].slice.call(document.querySelectorAll('.js-toggler-target')).forEach(function(button) {
var x = button.parentNode.getAttribute("action")
if(x.indexOf("/users/unfollow") > -1){console.log(x);button.click();}
});
import React from 'react'; | |
import { render } from 'react-dom'; | |
import { createStore } from 'redux'; | |
import { connect, Provider } from 'react-redux'; | |
const reducer = (state = {counter: 0}, action) => { | |
switch (action.type) { | |
case 'INCREMENT': | |
return {...state, counter: state.counter+1}; | |
case 'DECREMENT': |