Skip to content

Instantly share code, notes, and snippets.

diff --git a/src/ffi/datetime.rs b/src/ffi/datetime.rs
index 1e522989..3cb04f5d 100644
--- a/src/ffi/datetime.rs
+++ b/src/ffi/datetime.rs
@@ -6,15 +6,15 @@
//! and covers the various date and time related objects in the Python `datetime`
//! standard library module.
-use crate::ffi::PyCapsule_Import;
use crate::ffi::Py_hash_t;
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[dev-packages]
setuptools-rust = "*"
pytest = "*"
pytest-runner = "*"
pytest-benchmark = "*"
@konstin
konstin / Pipfile.lock
Created July 18, 2018 11:36
Pipfile.lock that is invalid due to merge conflicts
{
"_meta": {
"hash": {
<<<<<<< HEAD
"sha256": "bcfc45290fbb355718be3f34bba3eb16efac245f372bc073befd7c873f249255"
=======
"sha256": "e4a71167a234e33da3852bb31549230518bd539b2e2709309f50277647b905cc"
>>>>>>> dd96e7ee95cc068730604af7cb3b9bfa16d39e0b
},
"pipfile-spec": 6,
This file has been truncated, but you can view the full file.
WARNING Invalid version strings in tags of Q850: ['mysql-3.23.22-beta', 'mysql-3.23.24-beta', 'mysql-3.23.27-beta', 'mysql-3.23.28-gamma', 'mysql-3.23.29a-gamma', 'mysql-3.23.30-gamma', 'mysql-3.23.31', 'mysql-3.23.32', 'mysql-3.23.33', 'mysql-3.23.34', 'mysql-3.23.35', 'mysql-3.23.36', 'mysql-3.23.37', 'mysql-3.23.38', 'mysql-3.23.39', 'mysql-3.23.41', 'mysql-3.23.42', 'mysql-3.23.44', 'mysql-3.23.45', 'mysql-3.23.46', 'mysql-3.23.47', 'mysql-3.23.48', 'mysql-3.23.50', 'mysql-3.23.51', 'mysql-3.23.52', 'mysql-3.23.53', 'mysql-3.23.54', 'mysql-3.23.55', 'mysql-3.23.56', 'mysql-3.23.57', 'mysql-3.23.58', 'mysql-4.0.1', 'mysql-4.0.2', 'mysql-4.0.3', 'mysql-4.0.4', 'mysql-4.0.5', 'mysql-4.0.6', 'mysql-4.0.7', 'mysql-4.0.8', 'mysql-4.0.9', 'mysql-4.0.10', 'mysql-4.0.11', 'mysql-4.0.12', 'mysql-4.0.13', 'mysql-4.0.14', 'mysql-4.0.15', 'mysql-4.0.16', 'mysql-4.0.17', 'mysql-4.0.18', 'mysql-4.0.19', 'mysql-4.0.20', 'mysql-4.0.21', 'mysql-4.0.22', 'mysql-4.0.23', 'mysql-4.0.24', 'mysql-4.0.25', 'mysql-4.0.26', 'mysq
# This is based on https://gist.github.com/getup8/7862fd86f8e48781587490f25417d7b9
from allauth.socialaccount.models import SocialApp
from django.conf import settings
from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = 'Updates the allauth SocialApps registered in the database based on the ' \
'SOCIALACCOUNT_PROVIDERS setting'

Keybase proof

I hereby claim:

  • I am konstin on github.
  • I am konstin (https://keybase.io/konstin) on keybase.
  • I have a public key ASACdn8c4CBnBfq02ZyEJd0r9YFpyP-9tKLjpC8gEY7wZAo

To claim this, I am signing this object: