Archives

No module named corsheaders.middleware

on with Leave a reply

When I try configure the django in my local, I got this error ImproperlyConfigured: Error importing module corsheaders.middleware: “No module named corsheaders.middleware” to solve this error we need to install django-cors-headers   Traceback (most recent call last): File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__ return self.application(environ, […]

Read more..

Most Influential Languages in the World list in json format

on with Leave a reply

I just listed Most Influential Languages in the World list in JSON format for easy access purpose. Source list25 { "en": "English", "fr": "French", "es": "Spanish", "ar": "Arabic", "cmn": "Mandarin", "ru": "Russian", "pt": "Portuguese", "de": "German", "ja": "Japanese", "hi": "Hindi", "ms": "Malay", "fa": "Persian", "sw": "Swahili", "ta": "Tamil", "it": "Italian", "nl": "Dutch", "bn": "Bengali", "tr": […]

Read more..

htaccess not working after ubuntu 14.04 upgrade

on with 1 Reply

My htaccess was not working after Ubuntu 14.04 upgrade. I realized the issue is with Apache configuration file, because I was allowed to override the Apache configuration while upgrade. So I compared the /etc/apache2/apache2.conf with auto backup file  apache2.conf.dpkg-old. So we have to do the following replace in apache2.conf file to restore the htaccess. Replace […]

Read more..

wordpress svn forbidden error

on with 2 Replies

When I was trying to commit the new wordpress plugin to wordpress svn repository. I was getting very strange errors. I was bit struggled to understand because I hosted many plugins in wordpress before. wordpress svn forbidden error! svn ci -m "add version 2.0" svn: E195023: Commit failed (details follow): svn: E195023: wordpress svn Changing […]

Read more..