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
function ObserveDblClick() { | |
var plugin = this; | |
// public methods | |
this.init = function() { | |
bindHeaders.call(this); | |
}; | |
this.dblclickColHeader = function(col) { | |
Handsontable.hooks.run(this, 'dblclickColHeader', col); |
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
from django import forms | |
from django.contrib import admin | |
from project.app.models import Foo | |
from project.app.forms import HumanIntegerField | |
class FooAdminForm(forms.ModelForm): | |
class Meta: | |
model = Foo | |
bar_field = HumanIntegerField() |
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
from __future__ import absolute_import | |
from django.core.management.base import BaseCommand | |
from django.conf import settings as django_settings | |
from twisted.internet import reactor | |
from scrapy.crawler import Crawler | |
from scrapy.settings import CrawlerSettings | |
from scrapy import log, signals | |
from scrapy.xlib.pydispatch import dispatcher |
NewerOlder