configure apache and mod_python

2012-07-11 Thread Carlos Andre
Hi, i'm with a hard problem. also, my apache have a problem he not want be
stated, i try use the xamppy and now be sure that problem!
As I put apache and mod_python to work?
Please help i need this!
I've tried a lot for tutorials that do not explain, those who have used it
wrong!
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+apache

2012-07-17 Thread Carlos Andre
hi programers, i'm with troble in apache with django connect!
what i can make to connect!
i start with mod_python, but have very troble!
can Somebory help 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-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.



activate site django

2012-07-18 Thread Carlos Andre
hi programers! i want to make my project work in web, but  i only know how
deploy django-mod_python-apache, also the question!
i'm keep all install corretc and work correct too, whall i will keep this
project in web?
process using ftp!
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_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
hi developers i'm with a ptoblem in this date. How work?
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.



Re: DJANGO_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
Ok, the  quest is relative  a how that work with forms of data in
settins.py!
not relative to date time.
in  real i'm want insert data in databases athroughl shell  and thi error
is show!

2012/8/14 Satinderpal Singh 

> On Tue, Aug 14, 2012 at 9:42 PM, Carlos Andre  wrote:
> > hi developers i'm with a ptoblem in this date. How work?
> > thanks!
> Please clear your question, if you are looking for date and time at
> your page please follow the following tutorial:
> http://www.djangobook.com/en/2.0/chapter03/
>
> --
> Satinderpal Singh
> http://satindergoraya.blogspot.in/
>
> --
> 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.
>
>

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

2012-08-14 Thread Carlos Andre
right, I was being very brief in my description!
But it is the following:
I want to insert data into the database from the shell, django shell, but
the result is always that you can not import the settings because the va
riavel DJANGO_SETTINGS_MODULE is not set


2012/8/14 

> **
> It's always good to copy the error message you're getting. It seems that
> you try to run "python manage.py shell" ang getting an error that
> DJANGO_SETTINGS_MODULE is not set.
>
> Please follow at least a bit of the tutorial on docs.djangoproject.comwhich 
> will teach you how to set this variable properly.
>
> HTH
>
> Jirka
> --
> *From: * Carlos Andre 
> *Sender: * django-users@googlegroups.com
> *Date: *Tue, 14 Aug 2012 15:48:18 -0300
> *To: *
> *ReplyTo: * django-users@googlegroups.com
> *Subject: *Re: DJANGO_DEFAULT_SETTINGS
>
> Ok, the  quest is relative  a how that work with forms of data in
> settins.py!
> not relative to date time.
> in  real i'm want insert data in databases athroughl shell  and thi error
> is show!
>
> 2012/8/14 Satinderpal Singh 
>
>> On Tue, Aug 14, 2012 at 9:42 PM, Carlos Andre  wrote:
>> > hi developers i'm with a ptoblem in this date. How work?
>> > thanks!
>> Please clear your question, if you are looking for date and time at
>> your page please follow the following tutorial:
>> http://www.djangobook.com/en/2.0/chapter03/
>>
>> --
>> Satinderpal Singh
>> http://satindergoraya.blogspot.in/
>>
>> --
>> 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.
>>
>>
>  --
> 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.
>
> --
> 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.
>

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

2012-08-14 Thread Carlos Andre
Thanks for all! i'm solving this problem!

2012/8/14 Melvyn Sopacua 

> On 15-8-2012 1:02, Furbee wrote:
>
> > DJANGO_SETTINGS_MODULE is an environment variable that must be set. I
> > believe this is taken care of for you when you create a project using
> > django-admin. You may need to create it manually.
>
> No, the trick is to run the manage.py script from the project's
> directory. This manage.py script is created by django-admin.py
> startproject. I realize you were on the right track, but putting it down
> correctly. The full details are in the manual as linked previously.
>
> From the tips and tricks department:
> You can use a shell (as in zsh/sh/bash/ksh) alias to run that script:
> alias djmanage='python manage.py'
> --
> Melvyn Sopacua
>
> --
> 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.
>
>

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



uso do csrf

2012-09-24 Thread Carlos Andre
Olá pessoal, estou com um pequeno problema na implementação de meu projeto.
Eu consegui usar no formulário o csrf isto só com o views e templates, mas
quando adicionei o forms e usei o csrf não deu certo!
implementei do mesmo modo que anterior mas sempre aparece o erro 403!
se poderem me ajudar obrigado a todos!

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



forign key no forms

2013-02-10 Thread Carlos Andre
Olá pessoal!
Olha, preciso que um foreign key seja acessível com o forms!
Tentei de algumas maneiras e não consegui! materiais também não tão
sucintos!
alguém pode  me ajudar com essa questão?
Obrigado pela a atenção!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




o models possui foreing key! para forms e views?

2013-02-16 Thread Carlos Andre
Olá pessoal mais uma vez postando já está chato, eu entendo!
Olhem só:
O models.py
class Base(models.Model):
 nome=Char
class endereco(models.MOdel):
  rua=Cha...
class registro(models.Model):
  registro= Cha...
  individuo = Foreignkey(Base)
  endereco = ForeignKey(endereco)

O Forms.py

class registroForm(ModelForm):
tiporegistro= Char...
individuo = ModelChoiceField(registro.object.all())

class Meta:
 model = registro
 field = ('registro','individuo','endereco')

O views.py
def   reg(request):
  pass



essa parte do views não consigo adequar quando faço a verificação se o form
é válido ele passa por essa verificação e não mostra no template.
por favor me ajudem a resolver essa questão!
Obrigado pela atenção e desculpa pela insistência  e incômodo!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Upload de musicas (music upload)

2013-09-16 Thread Carlos Andre
Olá pessoal, tudo bom?
Eu gostaria de uma ajuda de como fazer upload de músicas no banco de dados,
como faço upload de arquivo. Gostaria de exemplos.

Hello guys, how are you?
I would like some help on how to upload songs in the database, how do I
upload file. I would like examples.

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: trouble initializing the website

2015-01-16 Thread Carlos Andre
Your first step are configure settings.py in databases, you heve to create
a conetion. Secund step, syncdb will go create the struct databases. And
finally runserver will start your server. In browser use to admin:
127.0.0:8000/admin. That need loggin who you configure in syncdb.
Em 16/01/2015 08:54, "Nicky setia"  escreveu:

> Hi,
> I am receiving the following error when I try to load my domain. The
> domain/hosting and settings.py and other files are all set up
>
>  "It worked! Congratulations on your first Django-powered page.
>
> Of course, you haven't actually done any work yet. Here's what to do next:
>
> If you plan to use a database, edit the DATABASES setting in
> mysite/settings.py.
> Start your first app by running python mysite/manage.py startapp [appname].
> You're seeing this message because you have DEBUG = True in your Django
> settings file and you haven't configured any URLs. Get to work!” ]
>
> Would you be able to help me with what I might be missing?
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/56f25b83-94ef-4c4d-81e8-180974b8be72%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMwhiEkdbCHJUsAyrAonVZV-3%2BoNanEM17YFRWGj5HjkmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble initializing the website

2015-01-16 Thread Carlos Andre
And you have, after all, create a aplication with command: manage,py
startapp [name your app]
Em 16/01/2015 08:56, "Nicky Setia"  escreveu:

> Hi,
> I used Django to create my personal webpage. The tutorial on your homepage
> was very helpful and easy to follow.
> I have my domain and hosting set up. I have modified the
> settings/views/URLs files accordingly and FTP all files to the server but
> when I try to load the domain, it gives me following error:
>
> [ "It worked! Congratulations on your first Django-powered page.
>
> Of course, you haven't actually done any work yet. Here's what to do next:
>
> If you plan to use a database, edit the DATABASES setting in
> mysite/settings.py.
> Start your first app by running python mysite/manage.py startapp [appname].
> You're seeing this message because you have DEBUG = True in your Django
> settings file and you haven't configured any URLs. Get to work!” ]
>
> Everything is all set from the hosting provider. Would you be able to help
> me with what I might be missing?
> Thanks for your time and support,
> Nicky
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/83A4C46C-9747-4104-9855-9FFBEBBAB567%40gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxvQND5D_f3pFCDXJeEPX6pdsq3j5%2BT8e671EdUGRoJ9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: syncdb error with Mysql database on Windows 7

2015-01-25 Thread Carlos Andre
install PyMySQL, after create a user e a databases in mysql terminal;
e.g:1º)create user 'root'@'localhost' identified by 'fish1777';
2º) create database Mydb;
3º) grant all privileges on Mydb.* to 'root'@'localhost' identified by
'fish1777';

use syncdb.

2015-01-25 6:04 GMT-02:00 olek.russ :

>   I also followed note for create schema  ( have watched
> https://www.youtube.com/watch?v=EL39BGSUkzw video in addition )  and got
> success.
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6adc4236-3c88-4a9c-9762-ba29a491bedb%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMzn1s7aR9aVajin35U-p2asqDzW1r39BjTNZLsdWOq-Ag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Values from class to class

2015-07-06 Thread Carlos Andre
Hello to all , I need to solve a problem. I have two classes of which
have to use , in the second class, the first coming values. How to do
this?
Thanks for listening!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMx1B0VAyA4qqCM4SMhYdUAo9Hv_p4yvdMD1d_3R8PbdeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Values from class to class

2015-07-07 Thread Carlos Andre
example : I have two classes, respectively person contact.
I want to contact class has , in its attributes , values ​​worked
coming from class person , such as name, pass in person , and size of
the contact name in the class.
I did something like this :
from django.db import models

class person ( models.Model ) :
qtdade = models.IntegerField (default = 1 )

class Meta :
verbose_name_plural = ' Person '

def valor_contato ( self):
return self.qtdade * 2

class contact ( models.Model ) :
p = Person ()
value = models.CharField ( max_length = 150, default = p.qtdade )


2015-07-07 4:08 GMT-03:00 James Schneider :

> Can you give a simple example or analogy of what you are trying to do?
>
> -James
> On Jul 6, 2015 5:29 PM, "Carlos Andre"  wrote:
>
>> Hello to all , I need to solve a problem. I have two classes of which have 
>> to use , in the second class, the first coming values. How to do this?
>> Thanks for listening!
>>
>>  --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAA8yBMx1B0VAyA4qqCM4SMhYdUAo9Hv_p4yvdMD1d_3R8PbdeA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAA8yBMx1B0VAyA4qqCM4SMhYdUAo9Hv_p4yvdMD1d_3R8PbdeA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXw4A1q69a7THGUqYat5beLd-_CPF1Y8fV2NzyN5UW8gQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXw4A1q69a7THGUqYat5beLd-_CPF1Y8fV2NzyN5UW8gQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyKAqomPsUTFD%2B7tiUFXABSv-zuatkFHktYEhkaKN%2BcpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Values from class to class

2015-07-07 Thread Carlos Andre
i trying use thats solutions, in real yet continuos the problem.
The value, when are to use in other class, return to defaut value without
get the value who i send in the field.


2015-07-07 15:42 GMT-03:00 James Schneider :

> On Tue, Jul 7, 2015 at 10:59 AM, Carlos Andre  wrote:
> > example : I have two classes, respectively person contact.
> > I want to contact class has , in its attributes , values worked coming
> from
> > class person , such as name, pass in person , and size of the contact
> name
> > in the class.
>
> Ahh, what you probably want is a foreign key relationship from Contact
> back to Person. See below.
>
> I'm not sure what you mean by size, though. Is that a reference to the
> qtdade field?
>
> > I did something like this :
> > from django.db import models
> >
> > class person ( models.Model ) :
> > qtdade = models.IntegerField (default = 1 )
> >
> > class Meta :
> > verbose_name_plural = ' Person '
> >
> > def valor_contato ( self):
> > return self.qtdade * 2
> >
> > class contact ( models.Model ) :
> > p = Person ()
> > value = models.CharField ( max_length = 150, default = p.qtdade )
> >
>
> What you probably want is this:
>
> class Contact( models.Model ) :
> p = models.ForeignKey(Person, null=False)
>
>
> Note that I used an uppercase letter to start your class (Contact).
> Python classes in general use the CapWords naming convention. See PEP8
> (https://www.python.org/dev/peps/pep-0008/#class-names).
>
> This makes the Person attributes available via the Contact model
> class, so you can do something like this:
>
> a_person = Person.objects.create(qtdade=3)
>
> a_contact = Contact.objects.create(p=a_person)
>
> print(a_contact.p.qtdade)
>
> ##
> # Would print out 3
> ##
>
> Any attributes that are added to the Person class would then be
> available to a Contact using the syntax I set above. See the
> documentation on relationships between models:
>
>
> https://docs.djangoproject.com/en/dev/topics/db/models/#many-to-one-relationships
>
> As far as this line goes:
>
> > value = models.CharField ( max_length = 150, default = p.qtdade )
>
> It looks like you are trying to set a default in the model definition
> that is dependent on a field in another model. Django doesn't support
> this because this is a single value that is applied directly in the
> database on the column during a migration/database initialization
> (therefore, no objects exist in order to determine what that value
> should be on a fresh migration). In general, you would set such a
> value inside of the save() method for your model whenever a Contact is
> saved, and use default='' (or default=None, but not recommended for
> CharField fields) in the model definition above.
>
> See this link for more information regarding the save() method on models:
>
>
> https://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods
>
> >
> > 2015-07-07 4:08 GMT-03:00 James Schneider :
> >>
> >> Can you give a simple example or analogy of what you are trying to do?
> >>
> >> -James
> >>
> >> On Jul 6, 2015 5:29 PM, "Carlos Andre"  wrote:
> >>>
> >>> Hello to all , I need to solve a problem. I have two classes of which
> >>> have to use , in the second class, the first coming values. How to do
> this?
> >>> Thanks for listening!
> >>>
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2Be%2BciVWhKYeG5jV%2B00epKyOQv2zSJWVq%2BFg-XstRrP%2Bp0mdBg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxc1%2Bjs-khiZK-L_sZhEhDxiK3WMDRNdCtcH4yPPfM0bQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Values from class to class

2015-07-07 Thread Carlos Andre
I want copy some values to other fields in other table!

2015-07-07 19:34 GMT-03:00 Carlos Andre :

> i trying use thats solutions, in real yet continuos the problem.
> The value, when are to use in other class, return to defaut value without
> get the value who i send in the field.
>
>
> 2015-07-07 15:42 GMT-03:00 James Schneider :
>
>> On Tue, Jul 7, 2015 at 10:59 AM, Carlos Andre  wrote:
>> > example : I have two classes, respectively person contact.
>> > I want to contact class has , in its attributes , values worked coming
>> from
>> > class person , such as name, pass in person , and size of the contact
>> name
>> > in the class.
>>
>> Ahh, what you probably want is a foreign key relationship from Contact
>> back to Person. See below.
>>
>> I'm not sure what you mean by size, though. Is that a reference to the
>> qtdade field?
>>
>> > I did something like this :
>> > from django.db import models
>> >
>> > class person ( models.Model ) :
>> > qtdade = models.IntegerField (default = 1 )
>> >
>> > class Meta :
>> > verbose_name_plural = ' Person '
>> >
>> > def valor_contato ( self):
>> > return self.qtdade * 2
>> >
>> > class contact ( models.Model ) :
>> > p = Person ()
>> > value = models.CharField ( max_length = 150, default = p.qtdade )
>> >
>>
>> What you probably want is this:
>>
>> class Contact( models.Model ) :
>> p = models.ForeignKey(Person, null=False)
>>
>>
>> Note that I used an uppercase letter to start your class (Contact).
>> Python classes in general use the CapWords naming convention. See PEP8
>> (https://www.python.org/dev/peps/pep-0008/#class-names).
>>
>> This makes the Person attributes available via the Contact model
>> class, so you can do something like this:
>>
>> a_person = Person.objects.create(qtdade=3)
>>
>> a_contact = Contact.objects.create(p=a_person)
>>
>> print(a_contact.p.qtdade)
>>
>> ##
>> # Would print out 3
>> ##
>>
>> Any attributes that are added to the Person class would then be
>> available to a Contact using the syntax I set above. See the
>> documentation on relationships between models:
>>
>>
>> https://docs.djangoproject.com/en/dev/topics/db/models/#many-to-one-relationships
>>
>> As far as this line goes:
>>
>> > value = models.CharField ( max_length = 150, default = p.qtdade )
>>
>> It looks like you are trying to set a default in the model definition
>> that is dependent on a field in another model. Django doesn't support
>> this because this is a single value that is applied directly in the
>> database on the column during a migration/database initialization
>> (therefore, no objects exist in order to determine what that value
>> should be on a fresh migration). In general, you would set such a
>> value inside of the save() method for your model whenever a Contact is
>> saved, and use default='' (or default=None, but not recommended for
>> CharField fields) in the model definition above.
>>
>> See this link for more information regarding the save() method on models:
>>
>>
>> https://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods
>>
>> >
>> > 2015-07-07 4:08 GMT-03:00 James Schneider :
>> >>
>> >> Can you give a simple example or analogy of what you are trying to do?
>> >>
>> >> -James
>> >>
>> >> On Jul 6, 2015 5:29 PM, "Carlos Andre"  wrote:
>> >>>
>> >>> Hello to all , I need to solve a problem. I have two classes of which
>> >>> have to use , in the second class, the first coming values. How to do
>> this?
>> >>> Thanks for listening!
>> >>>
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CA%2Be%2BciVWhKYeG5jV%2B00epKyOQv2zSJWVq%2BFg-XstRrP%2Bp0mdBg%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMwGpBQT%2BtA1GqaQRPGxYoP8L1gOYhM87fGFAkBK%2BfLKZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Label in Charfield

2015-07-20 Thread Carlos Andre
campo = forms.Charfield(max_lenght = 5, widget=(attr={'class':classe_css}))

2015-07-20 10:25 GMT-03:00 Ayush Jha :

> Create a widget for the CharField FormField
>
> http://stackoverflow.com/questions/4707192/django-how-to-build-a-custom-form-widget
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHGuwDymyci-CWmX6x5Vw7HYXfmtazxPGzJhZhFNiHgzdGH2VA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyo7rx5ftXuHk6o3EPuAx%2BQnh2C0jV_biBqBPXcDeeX6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


imagens com django templates

2014-07-14 Thread Carlos Andre
Olá pessoal, estou tentando usar um slideshow e uso um for para iterar as
imagens que passam vidas de um repositório, problemas que funciona sem o
comando for no template, quando adiciono ele mostra nada para!
Pelo que vejo há problemas no reconhecimento dos comandos de templates,
caso como o que tenho que usar o caminho do path todo, não está
reconhecendo o media. As configurações do settings.py foram feitas e
apontam para a pasta das imagens. Se alguém poder me ajudar agradeço, não
coloquei trechos do código para não receber criticas por incluir código
aqui!


Hello guys, I'm trying to use a slideshow and use one is to iterate through
the images that pass a repository lives, works without problems that the
command is in the template, when I add anything to it shows!
I see no problems in recognizing commands templates, as if I have to use
the path of the whole path is not recognizing the media. Settings.py
settings were made and point to the folder of images. If someone could help
me thank you, excerpts did not put the code to not be criticized for
including code here!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMwgb-YJnOZw_Rnx2HNVyAwy-zT6tA3nq0RoLowws%2BGmsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


slide show

2014-07-22 Thread Carlos Andre
Hello guys, I'm needing to create a slide of images that come from the / media
/ folder, the structure of the slide is ready, missing how to reference
images in the templates here are the codes views.py, models.py and of the
slide in html

https://gist.github.com/eucandre/1be6120bf51a09a5a62a

can anyone give help on how do I show the pictures and make them iterate? Thank
you!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxz8uH3YMu3YjrDj2WnuogytOE3UQAu%2BpJgT4zw9gaiJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: slide show

2014-07-22 Thread Carlos Andre
I already have a slideshow ready but missing is using the image to be added in
the admin to pass the slide!



2014-07-22 10:50 GMT-03:00 Tom Evans :

> On Tue, Jul 22, 2014 at 10:38 AM, Carlos Andre  wrote:
> > Hello guys, I'm needing to create a slide of images that come from the /
> > media / folder, the structure of the slide is ready, missing how to
> > reference images in the templates here are the codes views.py, models.py
> and
> > of the slide in html
> >
> > https://gist.github.com/eucandre/1be6120bf51a09a5a62a
> >
> > can anyone give help on how do I show the pictures and make them iterate?
> > Thank you!
>
> Use javascript to selectively show the active image and hide the
> others, using a javascript timer to advance to the next active image.
>
> There are many many javascript libraries written to achieve this.
> "slideshow javascript" or "slideshow jquery" should give you a billion
> results to choose from.
>
> Cheers
>
> Tom
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFHbX1LMSuhWDV-Tb8_caKf2%3DVnXHo12teU%3DvUotjTo6yvkD8Q%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMz89q7FWX_SOepj%2B3Ap5C1HXYHzQZ4yWVFc1ivFZZNOGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: slide show

2014-07-22 Thread Carlos Andre
please! i need run that!


2014-07-22 11:43 GMT-03:00 Carlos Andre :

> I already have a slideshow ready but missing is using the image to be
> added in the admin to pass the slide!
>
>
>
> 2014-07-22 10:50 GMT-03:00 Tom Evans :
>
> On Tue, Jul 22, 2014 at 10:38 AM, Carlos Andre  wrote:
>> > Hello guys, I'm needing to create a slide of images that come from the /
>> > media / folder, the structure of the slide is ready, missing how to
>> > reference images in the templates here are the codes views.py,
>> models.py and
>> > of the slide in html
>> >
>> > https://gist.github.com/eucandre/1be6120bf51a09a5a62a
>> >
>> > can anyone give help on how do I show the pictures and make them
>> iterate?
>> > Thank you!
>>
>> Use javascript to selectively show the active image and hide the
>> others, using a javascript timer to advance to the next active image.
>>
>> There are many many javascript libraries written to achieve this.
>> "slideshow javascript" or "slideshow jquery" should give you a billion
>> results to choose from.
>>
>> Cheers
>>
>> Tom
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAFHbX1LMSuhWDV-Tb8_caKf2%3DVnXHo12teU%3DvUotjTo6yvkD8Q%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMy-9NsP5w3NY5NNv%3DNgXyrMWCrVomctD13pGXRXCa4EwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: inicio en django

2014-07-26 Thread Carlos Andre
se é no ubuntu, poderia ser sudo apt-get install python-django;
se é no windows, use o prompt de comando e vá até a pasta do django que
baixasse, em seguida faça pyhon setup.py install
ele instalará o django!


2014-07-26 17:10 GMT-03:00 juantonio v :

> hola tengo el Django-1.6.5.tar.gz de django, ahora como lo instalo?
>
>
> gracias!
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a5765a51-4b4a-4fb2-b12f-ed318593d4f5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxc5eLu9HC5kf-A7b_9i%2B7zS8vSeyKS9_scYE1q_E7M%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: inicio en django

2014-07-26 Thread Carlos Andre
ir até a pasta com o prompt:(admitindo que salvasse o django no desktop)
cd c:\user\NOMEUSUARIO\desktop\Django-1.6.5\python setup.py install



2014-07-26 19:27 GMT-03:00 Carlos Andre :

> se é no ubuntu, poderia ser sudo apt-get install python-django;
> se é no windows, use o prompt de comando e vá até a pasta do django que
> baixasse, em seguida faça pyhon setup.py install
> ele instalará o django!
>
>
> 2014-07-26 17:10 GMT-03:00 juantonio v :
>
> hola tengo el Django-1.6.5.tar.gz de django, ahora como lo instalo?
>>
>>
>> gracias!
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/a5765a51-4b4a-4fb2-b12f-ed318593d4f5%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/a5765a51-4b4a-4fb2-b12f-ed318593d4f5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyW1-vHX6DaJDsTkoa9iGDOsnS%2B7E0yDejONTFujm%2B7pA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Media files django 1.5

2013-12-29 Thread Carlos Andre
hello guys, i have a problem in django 1.5!
I did a migration from version 1.3 to this and when I migrated
projects that have
worked in version 1.3 there was no recognition of the media in version 1.5!
I made the steps of the tutorial, but the problem still insists! have something
new to be configured?
thank you

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMzSyXLoKAoNWvOA%2BpJkJHVMyGujnG7nH7ctjm3%3DWjTVcA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Criar slideShow

2014-06-24 Thread Carlos Andre
Olá pessoal, tudo bem com todos?
Gostaria de uma solução que permita referenciar fotos para m slideshow com
até no máximo 5 fotos que seguirão ordem de inserção! tipo usando um id!
Obrigado pela atenção de todos!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMzR-r9dsUeYrHN6xiLNOqGXpj%3DSMLsPjv5TcjEhLhARzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Criar slideShow

2014-06-25 Thread Carlos Andre
Valeu marco aurélio! obrigado!


2014-06-25 9:29 GMT-03:00 Sandro Dutra :

> Você está em uma lista de discussão internacional, se espera alguma
> resposta, escreva em inglês.
>
> You're on international group, if you expect some answer, write in english.
>
>
> 2014-06-24 21:50 GMT-03:00 Carlos Andre :
>
>> Olá pessoal, tudo bem com todos?
>> Gostaria de uma solução que permita referenciar fotos para m slideshow
>> com até no máximo 5 fotos que seguirão ordem de inserção! tipo usando um id!
>> Obrigado pela atenção de todos!
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAA8yBMzR-r9dsUeYrHN6xiLNOqGXpj%3DSMLsPjv5TcjEhLhARzA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAA8yBMzR-r9dsUeYrHN6xiLNOqGXpj%3DSMLsPjv5TcjEhLhARzA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAH%2Bpf9nXzfdrgVmza8qRvUt3YEO3ym9PckdZ6wjyPKCjdpNqDA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAH%2Bpf9nXzfdrgVmza8qRvUt3YEO3ym9PckdZ6wjyPKCjdpNqDA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMwknzru57u%3DvCYyh2Yq26OmTcp%2BTqjGPcRvyW5CqDpzGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: No module named MySQLdb

2016-09-20 Thread Carlos Andre
1º install setuptools;
2º install PyMySQL;


1º --> https://pypi.python.org/pypi/setuptools
2º --> https://github.com/PyMySQL/PyMySQL


2016-09-20 11:01 GMT-03:00 fossildoc :

> I am a newbie to Django. I am running Django 1.10.1, Python 3.5.2, and
> MySQL server 5.7.15. When I run migrate, I get the message "No module named
> MySQLdb". There are various posts which say that MySQLdb is not supported
> by Python 3, and there are a couple of posts which offer solutions, but
> only for older versions of Django. Any help, please.
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/b0a88c18-faa9-4d0e-ac7b-1a8be1fb8070%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxrhHZfw5j_agwUD_24%2BFeTqU3dz6mO5E1Zm0gqeEN4Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Display the __str__ or __unicode__ of an objet on deletion of one of its ManyToManyField

2016-12-02 Thread Carlos Andre
def __unicode__(self):
return "{0} [{1}]".format(self.titre[:200], self.id).__str__

 def __unicode__(self):
return self.intitule.__str__


2016-12-02 10:03 GMT-03:00 Jean-Baptiste Pressac :

> Hello,
> On Django 1.8 + Python 2.7.11, I have declared in Django admin.py an
> oeuvre class with a ManyToManyField (types) to an TypeOeuvre class.
>
>
> class Oeuvre(models.Model):
> titre = models.CharField(max_length=510)
> types = models.ManyToManyField('TypeOeuvre',
>blank=True,
>verbose_name="Type(s) de l'œuvre")
> class Meta:
> ordering = ['titre']
>
> def __unicode__(self):
> return "{0} [{1}]".format(self.titre[:200], self.id)
>
> class TypeOeuvre(models.Model):
> intitule = models.CharField(max_length=100, verbose_name='Intitulé')
> commentaire = models.CharField(max_length=255,
>verbose_name='Commentaire',
>blank=True)
>
> class Meta:
> ordering = ['intitule']
> verbose_name = "Type d'œuvre"
> verbose_name_plural = "Types d'œuvres"
>
> def __unicode__(self):
> return self.intitule
>
>
>
> When I try to delete a TypeOeuvre object in Django Admin for which
> relations to one oeuvre exists, the "Are you sure?" warning do not
> explicitly mention the name of the oeuvre but displays a list of:
>
> Oeuvre-typeoeuvre relationship: Oeuvre_types object
>
> I also reproduced the problem on Django 1.10 + Python 3.4.5 and using
> __str__ instead of __unicode__.
>
>
> Is there a way to display the name of the oeuvres linked to the type ?
>
>
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/f62bac64-d292-46ee-b23a-e0fc7a630706%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyvpT-ZfsoA48utAAy_-ghduitc_FHSXM2K5zBxvyqXQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need help in posting Multi select option from HTML to MongoDB using Mongoengine

2017-03-07 Thread Carlos Andre
Vinay to this do the simple.
The form interprets normally the models.
Example:
models.py
from mongoengine import *

class person(Document):
  name = StringField(max_length = 150)
  club = EmbeddedModelField(club)

class club(Document):
 name = StringFiend(max_length = 150)

form.py
class FormPerson(forms.ModelForm):
 class Meta:
model = person
fields = "__all__"


2017-03-07 0:58 GMT-03:00 vinay.marpina :

> Hi All,
>
> I am trying to implement a Multi select input box in my Html page. Once
> user select multiple check boxes all the data for that specific field need
> to store in MongoDB as a part of json. I am not able to understand how i
> can Multi Select input box created in Html can be connected to Back end
> model. I ma trying to use List field and Embedded document field but i am
> not able to connect all the dots. Can some one please help me in connecting
> all the dots from HTML to FORM to Model to View to MongoDB. Examples are
> very limited for Mongoengine and most of them are not taking input from
> HTML page. If some one let me know how to provide multiple input from HTML
> page to model list field it will be very help full.
>
> Note: If my explanation is vague please ping me i will try to explain
> little better.
>
> Thanks,
> Vinay
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/c0a4cef0-d2ec-4bd0-b28d-517dc912e5cb%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxFGjgqUNXZdTg3R%3DdbbYnqQhU0cAFOMS1VLGM7SEm4Rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please help me

2017-05-29 Thread Carlos Andre
https://docs.djangoproject.com/pt-br/1.11/intro/tutorial01/

2017-05-29 17:58 GMT-03:00 m712 - Developer :

> You just made my day.
>
> On 05/29/2017 12:52 PM, Opeyemi Gabriel wrote:
>
> Django girls, am a guy
>
> On May 29, 2017 13:20, "Jani Tiainen"  wrote:
>
>> Hi,
>>
>> If you feel that Django tutorial is too compact, Django Girls do have
>> much more verbose tutorial.
>> And welcome to Django-world.
>>
>> On 29.05.2017 11:57, Opeyemi Gabriel wrote:
>>
>> Hello, Am name is Gabriel, please am a novice and am interested in learn
>> django. Can you please put me through
>> Thank you
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/django-users/CACbdT%3D0uo4XApksxz8yutWAMKXccCJACnD21icCa
>> huCe%2BB993g%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> Jani Tiainen
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/django-users/06528c19-7727-67f3-7511-ff82e7c4039c%40gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CACbdT%3D36JiLapny11t4%3DpF0mHuv0g1mRV625i_FJAPP-
> syKB8A%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/d658d7ef-4515-bbf9-538a-3cca60a8171b%
> 40getbackinthe.kitchen
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMw1TWALrzvSGqef%2BgEAHgMg10g8udn9wyM3-4L6i%2BnhJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installing Django

2017-06-05 Thread Carlos Andre
pip install django==1.10



2017-06-05 13:59 GMT-03:00 Melvyn Sopacua :

> On Monday 05 June 2017 06:44:13 Oladipupo Elegbede wrote:
>
> > For the Python prompt from CMD and do the following
>
> >
>
> > >>>import Django
>
> > >>>Django.VERSION
>
>
>
> 1) it's django not Django
>
> > This should tell you what version of Django you have.
>
> >
>
> > On Jun 5, 2017 7:21 AM, "Daniel Roseman"  wrote:
>
> > > On Monday, 5 June 2017 12:33:28 UTC+1, Richard Mungai wrote:
>
> > >> Hi..
>
> > >> I'm trying to install django using the pip command i.e (pip install
>
> > >> django) but i keep getting the same error message i.e "Requirement
>
> > >> already satisfied: django in c:\program files\python
>
> > >> 35-32\lib\site-packages\django -1.10.6-py3.5.egg"
>
>
>
> 2) I'm betting it's 1.10.6 on Python 3.5 (32-bits, shooting for the bonus
> points).
>
> --
>
> Melvyn Sopacua
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/9871067.85mFGhf4C7%40devstation
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMz%2B8nkt88nezW_yPVHU4_%2BOAtV2hPsBa972PDZ3K-D_gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using django as a socket server and not HTTP server

2015-08-05 Thread Carlos Andre
have a framework to work like this, twistter

2015-08-05 14:03 GMT-03:00 Javier Guerra Giraldez :

> On Wed, Aug 5, 2015 at 10:14 AM, Idan Shimon  wrote:
> > Hi i am interested to setup my own socket protocol against a peripheral
> > device
> > The socket server would be online and exposed to the web, however it will
> > not work on http.
>
>
> not as it is currently.
>
> the issue is that Django is a WSGI app, and Nginx doesn't pass TCP
> connections, it parses HTTP and passes it to the Python stack (via
> FastCGI, uWSGI, HTTP, etc).  Even if the backend connection is HTTP,
> it's a "reconstructed" http after being interpreted by the frontend.
>
> if your protocol is not HTTP but it's roughly request-response, then
> you might be able to create a frontend that calls Django (or any WSGI
> app) in the back.  Maybe by hacking gunicorn, or creating a uWSGI
> plugin, or using the new async capabilities in the latests Python
> versions... but it would be the current stack as is.
>
> --
> Javier
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFkDaoS5CHn_dGc6-0QjOkqD-6JMqxMdoe5VGoRUE3VJFcDmpQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyKrrWzoA0efeMSk%2BVjqUJih5cAp%3D%2BYcY9UvTsP1feb%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Crente usar o django 1.3

2015-09-26 Thread Carlos Andre
Hi to all, i want creat a new user in any time without admin interface, i
dont know use the functions from User modules.
Thanks to help

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMz1P%3Dx-OnkNMLmpvubMHXAhnW8njLCE2xwTWpLQiYSn-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


garantir acesso a usuários somente para seus dados

2015-09-27 Thread Carlos Andre
Hi, im with a question, want permission to user in only your data.
With doc i trying but only access to all dates.
Can help? thanks.
ps.: if can help to add new user, use the functions to this.
I use django 1.3 version and is necessari.
thaks!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMysVsXDJJaf7jDNBCuRp3ah6hkB9eV_-mUZUQpH3wtW4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: garantir acesso a usuários somente para seus dados

2015-10-03 Thread Carlos Andre
And i have a soluction, this mensage was after. Thanks!
Em 03/10/2015 12:55, "Helio Meira Lins"  escreveu:

> Carlos Andre,
> try to get help in the Brazilian Django group [1], and remember to inform
> what you've tried.
>
> [1] https://groups.google.com/forum/#!forum/django-brasil
>
> On Sunday, September 27, 2015 at 10:15:36 PM UTC-3, Carlos Andre wrote:
>>
>> Hi, im with a question, want permission to user in only your data.
>> With doc i trying but only access to all dates.
>> Can help? thanks.
>> ps.: if can help to add new user, use the functions to this.
>> I use django 1.3 version and is necessari.
>> thaks!
>>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0577ed6c-e7b3-4b1f-adf2-8c761b521370%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0577ed6c-e7b3-4b1f-adf2-8c761b521370%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyidMscmJv5n%3DUYbaoj%3DsHAmgqb45Vc4Q3n6EpyKXO_XA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how upload and display image on page using Django

2015-11-20 Thread Carlos Andre
To this you have give permition in path where the image are.  In Linux use
chmod.
Em 20/11/2015 18:32, "Daniel Roseman"  escreveu:

>  On Friday, 20 November 2015 19:45:31 UTC, Mayur Kakade wrote:
>>
>> I am new in Django I have some problem in django ... I am trying to
>> upload and display photo on page please help me
>>
>
> You do this by writing some code.
> --
> DR.
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/206ca329-34e9-46f8-be6d-bcc18f44db84%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMwfSWnEfpuKPV4wjO7fG5BpGm0t560vBaVHkxzhAAKUzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django project exe

2016-01-22 Thread Carlos Andre
Hi to all, i want do my project in django, run as exe in localhost. The
motivation, the client who want this!
Thanks to all!

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMynYn1o_dL3YeGzt8OBSMefQk_EvPKM_kiE%3D7b63tL03w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django project exe

2016-01-22 Thread Carlos Andre
It is a good idea even, except I already did with nginx, did not create a
file of those you mentioned going to do, the problem is that my client is a
layman and I would like this program to be executed as well as others he
knows. But for security, I would like another way, only to have another
path!

2016-01-22 10:53 GMT-02:00 Rafael E. Ferrero :

> Carlos, and why not install nginx or something in localhost? maybe you can
> do a little app to start or stop the service to connect or disconnect your
> application.
>
> if is only one machine you can do, it's not recommended, start and stop
> the buildin django server with your little .exe
>
>
>
> Rafael E. Ferrero
>
> 2016-01-22 9:34 GMT-03:00 Carlos Andre :
>
>> Hi to all, i want do my project in django, run as exe in localhost. The
>> motivation, the client who want this!
>> Thanks to all!
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAA8yBMynYn1o_dL3YeGzt8OBSMefQk_EvPKM_kiE%3D7b63tL03w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAA8yBMynYn1o_dL3YeGzt8OBSMefQk_EvPKM_kiE%3D7b63tL03w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJJc_8UqNSo0TWuV3Ou7DOrx05OTMC63B5JT_LiYHwpvvdLFSw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJJc_8UqNSo0TWuV3Ou7DOrx05OTMC63B5JT_LiYHwpvvdLFSw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMwVydT_p-z95e49qiij9JQ8hC8hgsL17M1vhMaGuJL9Jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does anyone have good results connecting Django to Mysql on localhost and windows 7?, me not.

2016-01-25 Thread Carlos Andre
install setuptools.
install pymysql

and the your python version!

2016-01-25 14:17 GMT-02:00 Gonzalo V :

> Wich module did you use?
> please help
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3abf656f-0d24-4387-869f-310534b84f70%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMxsUwAYGeY1qCn6%2B-D9-%3D-vdunRvf6g%3Dd6frZXbhHV71w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to install Django on Windows article

2016-01-29 Thread Carlos Andre
1º download a version django (admint who python intaled);
2º unzip the django in your prefer path;
3º acess that path with cmd;
4º insert:   setup.py install


2016-01-29 8:29 GMT-03:00 Rafael E. Ferrero :

> Never occur to me in Win8.1 ... why not install VirtualBox with an Ubuntu
> or other flavor of linux ? (if you need your windows)
> It's more easy for django and... it's recommended.
>
> Cheers !!
>
>
> Rafael E. Ferrero
>
> 2016-01-29 3:17 GMT-03:00 Руслан Ломагин :
>
>> Hello, i have some issues that is occured while i was installing Django
>> on my Windows 10.
>> I'm new in using Django framework and also python on windows.
>>
>> To the article:
>>
>> Install Python
>>
>> I installed python as it was said:
>>
>> Downloaded python 3.5.1 for windows.
>> Installed using option: create system variable.
>> Checked version.
>>
>> Install virtualenv and virtualenvwrapper¶
>> 
>>
>> Then i tried to instal virtualenv and virtualenvwrapper as it is said:
>>
>> pip install virtualenvwrapper-win
>>
>> but the command freezes (or hangs) widows command prompt.
>>
>> After some search i found "python -m pip install virtualenv" and "python -m 
>> pip install virtualenvwrapper" that worked well.
>>
>>
>> And now i'm stuck.
>>
>> mkvirtualenv myproject is not working.
>>
>>
>> As i investigated: mkvirtualenv is a batch file, that executes 
>> virtualenv.exe in python's Script folder.
>> This executable file hangs my command prompt, every time i type mkvirtualenv 
>> myproject or executing "virtualenv.exe myproject" directly.
>>
>>
>> I don't know what to do, but what i do know - those pip.exe, virtualenv.exe 
>> and other .exe files in %PYTHONHOME%\Scripts are hanging my commandprompt.
>>
>> If Anyone has any ideas with my problem, please help me.
>>
>> --
>> 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 it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/b86b3abf-7c66-414b-9bff-691a54868d88%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> 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 it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJJc_8X-FSzetbzvx4M%2BK6pbwDHe%2B4_u6%3DL2BPZqpckGvFU9LA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA8yBMyrnC9rxOK9z-xv_DZGWTAR2wYBPq2x9A9%3DynDVuafX4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.