Skip to content
View maddrum's full-sized avatar

Block or report maddrum

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Connect PayPal v2 checkout with Djan... Connect PayPal v2 checkout with Django and handle payment statuses
    1
    This GIST will help you implement PayPal v2 API with your Django app and handle payment statuses.
    2
    I will use: Class-Based FormView and Django template system.
    3
    To proceed you have to obtain valid PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET /have PayPal business account - production or sandbox/
    4
    
                  
    5
    
                  
  2. imot_bg_crawler imot_bg_crawler Public

    Python 9 5

  3. Django template tags to update, remo... Django template tags to update, remove or append url get parameter
    1
    from django import template
    2
    
                  
    3
    register = template.Library()
    4
    
                  
    5
    
                  
  4. Measure time decorator Measure time decorator
    1
    import logging
    2
    
                  
    3
    import time
    4
    
                  
    5
    logger = logging.getLogger('MyLogger')
  5. One-click Django language select One-click Django language select
    1
    # settings.py
    2
    
                  
    3
    TEMPLATE_CONTEXT_PROCESSORS = (
    4
        'django.core.context_processors.i18n',
    5
    )