GithubHelp home page GithubHelp logo

alir3z4 / django-base64field Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 300 KB

A motherfucking django model field to bring base64 encoded key to models.

Home Page: http://pypi.python.org/pypi/django-base64field

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

django-base64field's People

Contributors

alir3z4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rlc85

django-base64field's Issues

Add custom helper support

This should be completely simple/behave as #10, but instead it should add the helper method to model, aka contribute.

INSTALLED_APPS package name

Perhaps worth mentioning in the readme/docs: the name of the pacakge to include in INSTALLED_APPS in settings.py is "'django_base64field".
As a beginning Django developer, I tried with 'django_Base64Field', 'django.Base64Field', 'Base64Field' and finally 'django_base64field' which did work.

Add custom value

Being able to set a custom value mostly by calling a function would be awesome to prevent using default behavior of getting PK and generate based on that.

usage would be like.

ek = Base64Field(encode_value='module:custom_method')

I prefer to using method, and it's better to be string instead of real import, mostly because of performance ;)

Maternal Copulation in the Readme?

I assume you probably don't care, but for what its worth the word fuck is deeply offensive to many native english speakers-- to many, it is the most offensive word in the english language. To the civilized that aren't offended by it, we at least avoid using it in public company, at work, or around kids. It is my opinion that open source code is no place for it, but you are welcome to do what you like with your repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.