This file contains hidden or 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
| https://stackoverflow.com/questions/618557/django-using-select-multiple-and-post | |
| list = request.POST.getlist("items[]") |
This file contains hidden or 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
| ifconfig | |
This file contains hidden or 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
| https://stackoverflow.com/questions/6288661/adding-a-user-to-a-group-in-django | |
| from django.contrib.auth.models import Group | |
| group = Group.objects.get(name='groupname') | |
| user.groups.add(group) | |
| l = request.user.groups.values_list('name',flat=True) |
This file contains hidden or 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
| https://www.mercurytide.co.uk/media/resources/django-cheat-sheet.pdf |
This file contains hidden or 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
| <div class="main"> | |
| <div class="container"> | |
| <div class="box"> | |
| <div class="circContainer"> | |
| <div class="circ"></div> | |
| <div class="circPulse one"></div> | |
| <div class="circPulse two"></div> | |
| </div> | |
| </div> | |
| </div> |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/redux/4.0.0/redux.min.js"> | |
| </script> | |
| <script src="https://unpkg.com/react@0.14.3/dist/react.min.js"></script> | |
| <script src="https://unpkg.com/react-dom@0.14.3/dist/react-dom.min.js"></script> |
NewerOlder