Re: internationalization django app

2009-03-22 Thread Akhmat Safrudin

Malcolm Tredinnick wrote:
> That same section of the documentation describes how to create new
> language files (scroll down a bit to where it talks about running
> django-admin.py makemessages) and has a link to the contributing
> documentation.
> 
> Regards,
> Malcolm

oh.. sorry i read it less carefully,
thank's for your help.

regard.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: internationalization django app

2009-03-22 Thread Akhmat Safrudin

Malcolm Tredinnick wrote:
> No. This is documented here:
> http://docs.djangoproject.com/en/dev/topics/i18n/#id1
> 
> Regards,
> Malcolm

oh... it's well documented, sorry i missed it.
so, how to contribute translating django to other language?

thank's

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



internationalization django app

2009-03-21 Thread Akhmat Safrudin

Helo,
is it available internationalize django app with the language not listed 
under : django/conf/global_settings.py ?
and just add the app/myapp/locale/mylang/LC_MESSAGES/django.po ?

thank's.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



change template code

2009-02-16 Thread Akhmat Safrudin

hello...
how changed template take effect after deployed with fastcgi ?

thank's


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Django imagefield at development server

2009-01-27 Thread Akhmat Safrudin

felix wrote:
>
> on my dev server (laptop) I serve the MEDIA_ROOT through the normal 
> apache localhost.
> I do not get django to serve them.
>
ok, thank's for your attention,
the problem is solved,
i don't know how it solved,
but with deleting table from database,
than create it again with python manage.py syncdb
after i run server again this is running well.

TIA

somat.


-- 
Stay Hungry Stay Foolish
http://somat.wordpress.com


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Django imagefield at development server

2009-01-27 Thread Akhmat Safrudin

felix wrote:
> no problem uploading using the dev server
>
> no idea.  you didn't leave a pdb in your code, did you ?
>
> what is the output if any in the shell ?
i point the url in the browser to http://localhost:8000/admin/
how to debug with pdb in admin area ?

somat.

-- 
Stay Hungry Stay Foolish


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Django imagefield at development server

2009-01-27 Thread Akhmat Safrudin

phoebebright wrote:
> You might also check,
> You have DEBUG = True in settings.py
> And have permissions set on the photo directory
> And have something in urls.py file to point to the photo directory
0. DEBUG was true,
1. to ensure directory is writable, its set to 777,
3. is it some think like this ? :
urlpatterns += patterns('',
(r'^site-media/(?P.*)$', 'django.views.static.serve',
 {'document_root': settings.MEDIA_ROOT}),
)
if so i have add that to urls.py

somat.

-- 
Stay Hungry Stay Foolish


--~--~-~--~~~---~--~~
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 imagefield at development server

2009-01-27 Thread Akhmat Safrudin

dear list,
i am a noob,
i just starting a project, then create app and add some models,
in the model there is an ImageField,
at the admin area i can't insert record, the browser status is "waiting for 
localhost"
is django development server can upload file/image ?
i have completely read model documentation and django managing file but didn't 
get it solved.

my models and settings look like this :

class person(models.Model):
name = models.CharField(max_length=30)
address = models.CharField(max_length=50)
photo = models.ImageField(upload_to='photo')

settings.py :
MEDIA_ROOT = '/home/somat/project/media/'

MEDIA_URL = '/media/'

thank's

somat.

-- 
Stay Hungry Stay Foolish
http://somat.wordpress.com


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---