| 75 | |
| 76 | == Complete Application == |
| 77 | |
| 78 | I also developed [attachment:ipaccess.tgz ipaccess application] which offers this functionality. For installing you have to untar compressed application and put in ''apps'' directory in your project. Then, you have to ''update'' import statements and add to applications installed settings: |
| 79 | |
| 80 | {{{ |
| 81 | |
| 82 | INSTALLED_APPS = ( |
| 83 | 'django.contrib.auth', |
| 84 | 'django.contrib.contenttypes', |
| 85 | 'django.contrib.sessions', |
| 86 | 'django.contrib.sites', |
| 87 | 'django.contrib.comments', |
| 88 | 'django.contrib.admin', |
| 89 | 'yourproject.apps.yourapp', |
| 90 | 'yourproject.apps.ipaccess', |
| 91 | ) |
| 92 | |
| 93 | }}} |