Re: Need help on django admin site

2011-08-22 Thread О . Тэмүлэн
thanks for reply ^__^

On Mon, Aug 22, 2011 at 9:50 PM, Jaspreet Sarao wrote:

> On Mon, Aug 22, 2011 at 12:11 PM, Temulen Odbayar 
> wrote:
> > I'm creating a web with people registration site. And also companies
> > can register people... I think i can use admin site to do these things
> > and don't need to create another page with registration form. But if
> > companies can use admin site they may do anything they want. So i
> > think i can use group permission but it's maybe not good at security.
> > I need advice on this. Sorry my bad english ^_^. Any help?
> You need to create a registrartion form in django for users only
> Don't use admin site for this . There is risk
> All the best
>
> --
> Jaspreet sarao
> email: jaspritsa...@gmail.com
> Blog: jaspreetsarao.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.
>
>


-- 
*О.Тэмүлэн - Програм зохиогч
*

USI (United Solutions International Inc)
Програм хангамжийн компани

Баянзүрх дүүрэг, 4 хороо, “Энхүүд” төв
Гар утас: 88826004
Утас: 70151145
Факс: 70141146
P.O.Box: 318-46
И-мэйл: temu...@usi.mn, ryoka@gmail.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: Quick question on importing

2011-08-22 Thread О . Тэмүлэн
Maybe you need to write package name before it like this. if project is
package "from project.myapp2.models import model2"

On Tue, Aug 23, 2011 at 1:29 PM, raj  wrote:

> I am editing my user model, and I want to place a foreign key to a
> class in another model, that is in a different app. How would I go
> about importing it?
>
> Tree:
> /project/myapp/model1.py
> /project/myapp2/model2.py
>
> can i simply just say:
> from myapp2 import model2
> or do I need to edit something in the settings?
> Thank you.
>
> --
> 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.
>
>


-- 
*О.Тэмүлэн - Програм зохиогч
*

USI (United Solutions International Inc)
Програм хангамжийн компани

Баянзүрх дүүрэг, 4 хороо, “Энхүүд” төв
Гар утас: 88826004
Утас: 70151145
Факс: 70141146
P.O.Box: 318-46
И-мэйл: temu...@usi.mn, ryoka@gmail.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.



Need help on Pinax and Django

2011-09-04 Thread О . Тэмүлэн
Hello. I need help on django. I'm using Django project with Pinax. And i
need to translate default login page also sign up page fields. But i can't
find where should i translate. I found the signup.html but it uses this:

**
*{% csrf_token %}*
**
*{{ form|as_uni_form }}*
*{% if redirect_field_value %}*
**
*{% endif %}*
**
**
**
**
**

What should i do? And sorry my bad english. Any help?

-- 
*Temulen.O - Software Developer
*

USI (United Solutions International Inc)
Software Development Company

Building of Enkhuud center, 4th khoroo, 15th khoroolol
Bayanzurkh district, Ulaanbaatar - 51, Mongolia

Phone: 976-70151145
Fax: 976-70141146
P.O.Box: 318-46

Company web address:
http://www.usi.mnCompany
e-mail:i...@usi.mn

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