Font: https://www.google.com/fonts/specimen/Source+Code+Pro
https://sublime.wbond.net/installation
{
"installed_packages":
[| # | |
| #Copyright (c) 2008 Fred Palmer fred.palmer_at_gmail.com | |
| # | |
| #Permission is hereby granted, free of charge, to any person | |
| #obtaining a copy of this software and associated documentation | |
| #files (the "Software"), to deal in the Software without | |
| #restriction, including without limitation the rights to use, | |
| #copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| #copies of the Software, and to permit persons to whom the | |
| #Software is furnished to do so, subject to the following |
| import django | |
| from django.conf import settings | |
| from django.utils import six | |
| # Django 1.5 add support for custom auth user model | |
| if django.VERSION >= (1, 5): | |
| AUTH_USER_MODEL = settings.AUTH_USER_MODEL | |
| else: | |
| AUTH_USER_MODEL = "auth.User" |
| import time | |
| class MessageLogger: | |
| """ | |
| An independent logger class (because separation is a good thing). | |
| """ | |
| def __init__(self, file): | |
| self.file = file |
| def import_from_string(val): | |
| """ | |
| Attempt to import a class from a string representation. | |
| From: https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/settings.py | |
| """ | |
| try: | |
| # Nod to tastypie's use of importlib. | |
| parts = val.split('.') | |
| module_path, class_name = '.'.join(parts[:-1]), parts[-1] |
| from django.db import models | |
| from decimal import Decimal | |
| try: | |
| from south.modelsinspector import add_introspection_rules | |
| except ImportError: | |
| SOUTH = False | |
| else: | |
| SOUTH = True |
Font: https://www.google.com/fonts/specimen/Source+Code+Pro
https://sublime.wbond.net/installation
{
"installed_packages":
[| # -*- coding: utf-8 -*- | |
| ''' Generates database schema graph from a relational database. | |
| Usages: | |
| Add database configuation in this file and then | |
| python app.py | |
| Note: You must have your latest database schema in the database | |
| engine you are running against. | |
| ''' | |
| from __future__ import unicode_literals, absolute_import |
| # -*- coding: utf-8 -*- | |
| from __future__ import unicode_literals | |
| ''' | |
| List of reserved usernames (pre-defined list of special banned and reserved keywords in names, | |
| such as "root", "www", "admin"). Useful when creating public systems, where users can choose | |
| a login name or a sub-domain name. | |
| __References:__ | |
| 1. http://www.bannedwordlist.com/ | |
| 2. http://blog.postbit.com/reserved-username-list.html |
| # -*- coding: utf-8 -*- | |
| from __future__ import absolute_import, unicode_literals | |
| # Standard Library | |
| import uuid | |
| # Third Party Stuff | |
| from django.db import models | |
| from django_extensions.db.models import TimeStampedModel |
| 19:00 Topic: Welcome to #pyconindia | This channel is for planning meetings of Pycon India (http://in.pycon.org/) | | |
| 19:00 satyag set the topic at: 12-Sep-2014 10:00 am | |
| 18:12 rangzen_: Hey Everyone.. | |
| 18:54 kracekumar: hi | |
| 19:00 zz_theskumar is now known as theskumar | |
| 19:00 Mode: +cnt | |
| 19:00 Created at: 07-Jun-2012 1:33 pm | |
| 19:00 kracekumar: Hi all | |
| 19:01 kracekumar: We will wait for 5 minutes and get started | |
| 19:02 zz_satyag is now known as satyag |