mixed up with I18n
hi , i translate my project to persian following the django documentation , but when i try to use persian translation i see in my project that some string translated but some others not , i mark all of them for translating , also since persian language is a rtl but i still see that my page load in ltr mode , what should i do to fix this? i remember that adding some thing to settings.py fix this problem but i can't remember what. -- 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: PYTHON_EGG_CACHE, access denied error
it's very simple ( if you have root access to your host ) just create a directory with the name : ".python-eggs" in ther "/" ( root directory ) and change it owner to the apache user ( the user who run apache ). ( if you don't have root access ) change you mod_wsgi or mod_python settings tu use onother dir for its egg cache i thinks its settings is in apache.conf -- 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: PYTHON_EGG_CACHE, access denied error
thanks for the advice my friend i never forget that -- 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.
how can i find out that Development server is running or not?
hi how can i find out that my project ran under apache or development server ? -- 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: how can i find out that Development server is running or not?
i want to know just about development server . i mean i just want to know when my code run under development server: if development_server: some code -- 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.
djangp translates does not work
hi i use django internationalize documents to translate my project , but when i use that i just see that only some string are translated and font direction still is ltr , can any one help me to do it step by step? -- 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: A Django project life cycle
thanks for your consideration , i know that this is a painful matter and need extra work but i need to understand this cycle to write some peace of code for my project that optimize some actions also i really love to contribute to django, so please guide me :) -- 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: A Django project life cycle
i want to run a peace of code in the beginning of life cycle ( may be in settings.py ) but i want to know about number process and the codes that remain on memory ? olso i want to run a peace of code in the ending part -- 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: A Django project life cycle
h , i use wsgi and django development server, i was thinking about signals too, and thanks for docs i'll read them -- 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: drop table books_book
where did you run that DROP command ? -- 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: drop table books_book
if you want to drop a table in your database you should run the DROP command in your database engine console not directly in linux shell for example : (mysql) $ mysql -u root -p password: > use DBNAME; > DROP TABLE books_book; -- 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: drop table books_book
np ;) -- 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: drop table books_book
yeah , if you are iranian it's good to check out #django-ir IRC channel in freenode server but about your problem did you put your app name into INSTALLED_APPS in settings.py? did you create admin.py for your apps ? -- 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: urlpattern problem !
hmmm there is no problem with your urls.py the problem is in your admin.py , post one of your admin.py -- 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: urlpattern problem !
oh my God you'r reading the old book . that book you was reading is for legacy version of django you should try this one http://www.djangobook.com/en/2.0/ admin classes are different in django 1.x as jirka said too you should build an admin.py for each app. it is good to try #django and #django-ir too -- 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: first app
hi , congratulation. why don't you use a VCS like git or mercurial ? -- 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: Extending Profile with a ForeignKey field
i think you use a string for filling that field . but can you please post the form code too ? out of topic : Are you iranian ? -- 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.
Make a new model outside of models.py
Hi , is there any way to build a new model from outside of models.py ? or in other application ? i want to build a model for a class for each application -- lxsameer -- 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.
Dynamic Model
is it possible to build a dynamic model in run-time in version 1.1 ? -- lxsameer -- 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: anonymous user
i can't understand you well but if you enable auth system and session system you already have anonymous user , for example you can find out the current user in a view with request.user . if you did not log in then user must be anonymous -- 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: Setting User as foreign key
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First : did you sync your db after adding user field ? second : there were some django apps in google code for rating . and django have a complete comment framework -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJL8XL4AAoJELH0x7JH7CgPurMIAMQCm10vVus4Mi1D69MfzH4s ZBLzYg/uDmbUkZwZbIsqz3N00Hgp2aanEMH36ch0M2GW6KIoPryWGdeqw278btGP NRK9FpFl5g5I1PpKn3PoxkS+a/wMIA9+Zgbd6ZaSpvvcqBaApvHEQq876TtYYEw4 N5knXSOiJxfMktzkzEZ08qjd+toP7knGjMiklXOxmaRbev6E8nNKKNGWcUTGwXsY ptltDpBeXltOhGSolh6QFzoAxPszJbFKtFBSUPy1FZgqEON5q/492FdGn2B9Kz4j gYGEh1ws+Qve783XGDQlfbK1VbQ6brl/JGwpYPCOOMKmyigKuL8NCmeQ2RLR9y4= =9sQP -END PGP SIGNATURE- -- 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.
A Django project life cycle
Hi all i want to know about a django project life cycle, can any body help me please? i want to know how a django project run under wsgi and development server ? which files runs first? does a project run in each request? or it remain in memory ? and any other useful information thanks all -- 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: A Django project life cycle
>> http://www.catb.org/~esr/faqs/smart-questions.html >> http://www.djangobook.com/ just for more information , i read django book , i know what i want , and if you don't want to help please don't send me those link. > Can anyone give OP a useful answer? what do you mean by OP -- 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.
Dajax, what do you think about it?
What do you think about using Dajax and Dajaxice in Django? is it worth? or you like to write your own ajax code? -- 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.