One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # Set inotify watch limit high enough for IntelliJ IDEA (PhpStorm, PyCharm, RubyMine, WebStorm). | |
| # Create this file as /etc/sysctl.d/60-jetbrains.conf (Debian, Ubuntu), and | |
| # run `sudo service procps start` or reboot. | |
| # Source: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit | |
| # | |
| # More information resources: | |
| # -$ man inotify # manpage | |
| # -$ man sysctl.conf # manpage | |
| # -$ cat /proc/sys/fs/inotify/max_user_watches # print current value in use |
| # Start the old vagrant | |
| $ vagrant init centos-6.3 | |
| $ vagrant up | |
| # You should see a message like: | |
| # [default] The guest additions on this VM do not match the install version of | |
| # VirtualBox! This may cause things such as forwarded ports, shared | |
| # folders, and more to not work properly. If any of those things fail on | |
| # this machine, please update the guest additions and repackage the | |
| # box. |
| from django.db import models | |
| from django.db.models import Manager | |
| from django.db.models.query import QuerySet | |
| class CaseInsensitiveQuerySet(QuerySet): | |
| def _filter_or_exclude(self, mapper, *args, **kwargs): | |
| # 'name' is a field in your Model whose lookups you want case-insensitive by default | |
| if 'name' in kwargs: | |
| kwargs['name__iexact'] = kwargs['name'] | |
| del kwargs['name'] |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |