Indian Language in Tinymce OperationalError
Hello everyone, I am newbie in django. I have installed plugin in tinymce to type indian language in textarea. While I was trying to save flat page with indian language string its giving me error *OperationalError at /admin/flatpages/flatpage/1/* " Any suggestion and help would be appericiates. Traceback :http://dpaste.com/99784/ Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
Django Matrimonial Apps,
Hello all, I am thinking to start writing app for Matrimonial/Dating. If anyone knows about anyone doing same project could please divert me to him/her/community. I would appreciates if anyone would like to join for this project. I am aiming to finish this within three month with basic functionality. Regards Riz -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
RE: Django Matrimonial Apps,
Dear Kenneth, I belies in open sources 100%. Anything what I will write would be 100% open source. Riz -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Kenneth Gonsalves Sent: 14 August 2010 03:28 To: django-users@googlegroups.com Subject: Re: Django Matrimonial Apps, On Fri, 2010-08-13 at 20:08 +0100, Rizwan Mansuri wrote: > I would appreciates if anyone would like to join for this project. I > am > aiming to finish this within three month with basic functionality. is it to be open source? -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
OSError Permission denied
Hello Django Gurus, I am newbie in Django. I 'm stuck at this point. I have developed one apps in django which has Imagefield. While I am trying add this content in site its giving me error saying OSError at /admin/portfolio/portfolio/add/ [Errno 13] Permission denied: '/myproject'. Myproject is root folder of my django website. I have pasted traceback below. I've search a bit on Google but couldn't find any solution. Please Help !!! Cheers, Environment: Request Method: POST Request URL: http://dev.rmansuri.net/admin/portfolio/portfolio/add/ Django Version: 1.2 beta 1 Python Version: 2.5.4 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.flatpages', 'tinymce', 'contact_form', 'myproject.weblog', 'photologue', 'myproject.portfolio'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfResponseMiddleware') Traceback: File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/core/handlers/base .py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/site s.py" in root 516. return self.model_page(request, *url.split('/', 2)) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/views/decorators/c ache.py" in _wrapped_view_func 69. response = view_func(request, *args, **kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/site s.py" in model_page 535. return admin_obj(request, rest_of_url) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/opti ons.py" in __call__ 1166. return self.add_view(request) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/utils/decorators.p y" in _wrapper 21. return decorator(bound_func)(*args, **kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/utils/decorators.p y" in _wrapped_view 74. response = view_func(request, *args, **kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/utils/decorators.p y" in bound_func 17. return func(self, *args2, **kwargs2) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/transaction.py" in _commit_on_success 299. res = func(*args, **kw) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/opti ons.py" in add_view 796. self.save_model(request, new_object, form, change=False) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/opti ons.py" in save_model 596. obj.save() File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/base.py" in save 435. self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/base.py" in save_base 511. for f in meta.local_fields if not isinstance(f, AutoField)] File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/fields/f iles.py" in pre_save 255. file.save(file.name, file, save=False) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/fields/f iles.py" in save 92. self.name = self.storage.save(name, content) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/core/files/storage .py" in save 48. name = self._save(name, content) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/core/files/storage .py" in _save 144. os.makedirs(directory) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 171. mkdir(name, mode) Exception Type: OSError at /admin/portfolio/portfolio/add/ Exception Value: [Errno 13] Permission denied: '/myproject' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe fr
OS Error, Permission Denined
Hello Django Gurus, I am newbie in Django. I 'm stuck at this point. I have developed one apps in django which has Imagefield. While I am trying add this content in site its giving me error saying OSError at /admin/portfolio/portfolio/add/ [Errno 13] Permission denied: '/myproject'. Myproject is root folder of my django website. I have pasted traceback below. I've search a bit on Google but couldn't find any solution. Please Help !!! Cheers, Environment: Request Method: POST Request URL: http://dev.rmansuri.net/admin/portfolio/portfolio/add/ Django Version: 1.2 beta 1 Python Version: 2.5.4 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.flatpages', 'tinymce', 'contact_form', 'myproject.weblog', 'photologue', 'myproject.portfolio'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.csrf.CsrfResponseMiddleware') Traceback: File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/core/handlers/base .py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/site s.py" in root 516. return self.model_page(request, *url.split('/', 2)) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/views/decorators/c ache.py" in _wrapped_view_func 69. response = view_func(request, *args, **kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/site s.py" in model_page 535. return admin_obj(request, rest_of_url) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/opti ons.py" in __call__ 1166. return self.add_view(request) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/utils/decorators.p y" in _wrapper 21. return decorator(bound_func)(*args, **kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/utils/decorators.p y" in _wrapped_view 74. response = view_func(request, *args, **kwargs) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/utils/decorators.p y" in bound_func 17. return func(self, *args2, **kwargs2) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/transaction.py" in _commit_on_success 299. res = func(*args, **kw) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/opti ons.py" in add_view 796. self.save_model(request, new_object, form, change=False) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/contrib/admin/opti ons.py" in save_model 596. obj.save() File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/base.py" in save 435. self.save_base(using=using, force_insert=force_insert, force_update=force_update) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/base.py" in save_base 511. for f in meta.local_fields if not isinstance(f, AutoField)] File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/fields/f iles.py" in pre_save 255. file.save(file.name, file, save=False) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/db/models/fields/f iles.py" in save 92. self.name = self.storage.save(name, content) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/core/files/storage .py" in save 48. name = self._save(name, content) File "/home/rmansuri/webapps/dev_rmansuri/lib/python2.5/django/core/files/storage .py" in _save 144. os.makedirs(directory) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 164. makedirs(head, mode) File "/usr/local/lib/python2.5/os.py" in makedirs 171. mkdir(name, mode) Exception Type: OSError at /admin/portfolio/portfolio/add/ Exception Value: [Errno 13] Permission denied: '/myproject' -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe
RE: OS Error, Permission Denined
Thanks very much for your reply, Could you please guide me to any document that explain this? Thanks again, -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Gonzalo Delgado Sent: 07 October 2010 20:17 To: django-users@googlegroups.com Subject: Re: OS Error, Permission Denined El 07/10/10 16:05, Rizwan Mansuri escribió: > > > I am newbie in Django. I ‘m stuck at this point. I have developed > one apps in django which has Imagefield. While I am trying add this > content in site its giving me error saying OSError at > /admin/portfolio/portfolio/add/ > > [Errno 13] Permission denied: '/myproject'. Myproject is root folder > of my django website. I have pasted traceback below. > You need to allow the http process user (most likely apache) to write in that folder. -- Gonzalo Delgado -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
RE: OS Error, Permission Denined
it's Linux. I don’t know Have you heard of webfaction hosting company. -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Gonzalo Delgado Sent: 07 October 2010 20:57 To: django-users@googlegroups.com Subject: Re: OS Error, Permission Denined El 07/10/10 16:21, Rizwan Mansuri escribió: > Could you please guide me to any document that explain this? Sorry, I may have assumed too much on my previous response. What OS is your Django project running on? Here is a guide for Linux: http://www.zzee.com/solutions/linux-permissions.shtml -- Gonzalo Delgado -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
RE: OS Error, Permission Denined
Hi Shawn, I've pasted my model code. That doesn't sort out my issue. from django.db import models from django.contrib import admin import datetime import os PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) class Portfolio(models.Model): title = models.CharField('Title', max_length=200) url = models.URLField('website URL') description = models.TextField('Desc', max_length=500, null=True) technology_used = models.CharField('Technology Used',max_length=200) url_image = models.ImageField('Portfolio Image',upload_to = 'media/images/portfolio/') display = models.BooleanField('Display on Frontpage') created = models.DateField(auto_now= True) class Meta: ordering = ['created'] class Admin: pass def __unicode__(self): return self.title admin.site.register(Portfolio) -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of ShawnMilo Sent: 07 October 2010 21:16 To: Django users Subject: Re: OS Error, Permission Denined The problem here is most likely due to the forward-slash in front of your path name. Django's trying to actually write to a non-existant folder at a level you don't have access to in any case on shared hosting. Try taking it out and see if that fixes it. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
RE: Django tutorial
You need mysqldb library for your installed python version. Cheers, -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of dynamo44 Sent: 23 October 2010 20:52 To: Django users Subject: Django tutorial Hello, I am working through the Django tutorial at http://docs.djangoproject.com/en/dev/intro/tutorial01/, and I seem to have hit a wall at the database setup section. I am modifying settings.py as described. Specifically, in the DATABASES 'default' item. I am a college student who is using Django to develop a project. The database I want to use is on cPanel X. I modify the ENGINE, NAME, USER, and PASSWORD fields in settings.py. I leave HOST and PORT alone. When I try to run the command: python manage.py syncdb I get the following error: "django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb." Any advice as to what may be going wrong? Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
RE: django-weave needs contribution...
Hi Jen, I am happy to help you but my experience with django is very much like starting level. Is that something helps you? Riz -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Jens Sent: 07 March 2010 19:15 To: Django users Subject: django-weave needs contribution... I started http://code.google.com/p/django-weave/ a Django reuseable Application witch implements a Firefox weave server. The Project is in planning/pre-alpha state. If anyone has interest to help, please contact me! Mfg. Jens -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.