Hello everyone , im new in django.
So i wanna add multi product on company. my question is how to build
product form. (adding multi)
a. class Company(models.Model):
product=models.ManyToManyField(Product,verbose_name = u'Products')
Thanks.
--
You received this message because you are sub
Sorry guys. Asking non releated subject...
i have table that below structure.
*id name lang*
1|Test | en 1|Тест | ru
*now i wanna get in one row like this*
id | name_en | name_ru
1 | Test | Тест |
How to get like this. im using mysql.
Thanks.
--
You received this message because you are sub
Hello folks
*I got this error Django Registration 'str' object is not callable*
INSTALLED_APPS = (
..
'registration',
)
REGISTRATION_EMAIL_REGISTER_SUCCESS_URL = '/accounts/register/complete/'
in urls.py
get_success_url=getattr(
settings, 'REGISTRATION_EMAIL_REGIST
When i ./manage.py compilemessages i got error.
Pls help me . What is the reason ?
File "C:\Python27\lib\site-packages\django\core\management\__init__.py",
line 399, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django\core\management\__init__.py",
li
Hello folks.
Im new in Django. Please suggest me which app is suitable models
translation. I developing multilanguage site.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from i
Hi folks,
My site is performance very low. I deployed in apache mod_wsgi.
How to increase my web site performance.
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
Thanks you.
I did it. :-)
On Fri, Jan 4, 2013 at 10:23 PM, Tsolmon Narantsogt wrote:
> Thanks you its works fine.
>
> But another issue
>
> Django Version:
> 1.3.4Exception Type:
> ImportErrorException Value:
>
> No module named base.urls
>
> base is my app.
>
, Addy Yeow wrote:
> You may want to define WSGIDaemonProcess inside your VirtualHost, see
>
> http://modwsgi.readthedocs.org/en/latest/configuration-directives/WSGIDaemonProcess.html
>
> On Fri, Jan 4, 2013 at 9:36 PM, Tsolmon Narantsogt
> wrote:
> > Hello Comrades.
Hello Comrades.
I have a problem when deploying django project. I installed apache and
mod_wsgi module and django.
And i create virtual host in /etc/apache2/sites-available/mysite
*content:*
ServerName name
ServerAdmin m...@email.com
DocumentRoot /var/www/mydjangoproject/
Hello list
I'm new in Django.
How to custom admin interface. ?
Thank's
Tsolmon
--
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
I'm waiting
On Wed, Mar 23, 2011 at 4:57 PM, wrote:
> Ok give me few minutes
>
> Envoyé par mon BlackBerry® smartphone de Tigo
> --
> *From: * Tsolmon Narantsogt
> *Sender: * django-users@googlegroups.com
> *Date: *Wed, 23 Mar 2011 16:56:05
Can you send me some example
On Wed, Mar 23, 2011 at 4:51 PM, wrote:
> Hi
> In url.py
>
> Envoyé par mon BlackBerry® smartphone de Tigo
> ------
> *From: * Tsolmon Narantsogt
> *Sender: * django-users@googlegroups.com
> *Date: *Wed, 23 Mar 2
Hello comrades
I defined a some dynamic pages.
The slug should look like :
http://localhost:8000/store/{shoes}
How should i setup my urlpatterns ?
Thanks
Tsolmon.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
And how to create generic view.
> Thanks
> Tsolmon.
>
>
>
--
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.
Hi fellows.
I'm using Django 1.1 version.
I make some languages in my settings.py
LANGUAGE_CODE = 'en'
LANGUAGES = (
('en','English'),
('mn','Mongolia'),
('ru','Russia'),
)
LANGUAGE_COOKIE_NAME = 'lang'
Then create po and mo files . ( using django-admin.py makemessages -l ru ,
m
Hello fellows.
I'm using Django 1.1 version. My goals is create multiple language site.
I make po file
myprojectname/conf/locale/mn/LC_MESSAGES/django.po
and some msgid, msgstr.
But it's don't work.
My index.html
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% ge
Thanks a lot.
That's decided
On Sun, Nov 14, 2010 at 5:08 AM, Robbington wrote:
> its an ImportError which means that it couldn't find your main urls.py
> or possibly a sub urls that you are including.
>
> Out of interest, this isnt the usual mysite.polls app kind of problem,
> how did you encout
i can't fix that error actually i don't understand this error.
my urls.py :
#coding:utf8
import os
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
admin.autodiscover()
urlpatterns = patterns('',
(r'^$', 'public.views.index'),
(r'^
oops Sorry
it's my real urls.py file
#coding:utf8
import os
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
admin.autodiscover()
urlpatterns = patterns('',
(r'^$', include('public.urls')),
(r'^admin/doc/', include('django.contrib
Yes
#coding:utf8
import os
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS
Dear comrades
i'm using Django 1.1 with Postgres.
I got a following error
ImportError: No module named urls
212223
{% block branding %}{% endblock %}2425{%
if user.is_authenticated and user.is_staff %}2627{% trans 'Welcome,' %}28
{% first
> proxy+webserver) ? and so on.
>
> Regards,
> Xavier.
>
> Le 12 oct. 2010 à 11:57, Tsolmon Narantsogt a écrit :
>
> > Hello List
> >
> > I get a page not found error. But if I hit refresh I get the admin home
> page while the title of the Internet Explorer window r
Hello List
I get a page not found error. But if I hit refresh I get the admin home page
while the title of the Internet Explorer window remains "HTTP 404...". The
admin seems to work. It just would be nice to not have to hit refresh every
time.
Thanks
Tsolmon
--
You received this message becaus
Good
On Wed, Oct 6, 2010 at 5:22 PM, Daniel Roseman wrote:
> On Oct 6, 10:17 am, Tsolmon Narantsogt wrote:
> > Hello everybody
> >
> > I got a this error when i call a page.
> >
> > *Exception RuntimeError: 'maximum recursion depth exceeded while call
Hello everybody
I got a this error when i call a page.
*Exception RuntimeError: 'maximum recursion depth exceeded while calling a
Python object' in ignored*
*
*
Thank you
Tsolmon
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
So how fix it ?
On Sat, Oct 2, 2010 at 1:37 AM, Brandon Taylor wrote:
> Sounds like you have an infinite loop.
>
> On Oct 1, 12:12 pm, Tsolmon Narantsogt wrote:
> > Hi there
> >
> > i got this error
> >
> > *Exception RuntimeError: 'maximum recursion
Hi there
i got this error
*Exception RuntimeError: 'maximum recursion depth exceeded while calling a
Python object' in http://groups.google.com/group/django-users?hl=en.
How to use the Django with Google App Engine ?
--
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...@googlegrou
How to use a permission.
./manage.py syncdb
then how to create a users permissions
--
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 t
./manage.py syncdb then
auto create a users permisions
tell me. How to decide
--
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
dja
30 matches
Mail list logo