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

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"

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

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

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.

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

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

Re: django project exe

2016-01-22 Thread Carlos Andre
hine 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 <eucan...@gmail.com>: > >> Hi to all, i want do my project in django, run as exe in localhost. The

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

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

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" <helio...@gmail.com> escreveu: > Carlos Andre, > try to get help in the Brazilian Django group [1], and remember to inform > what you've tried. > > [1] https://groups.

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

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

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

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

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 <eucan...@gmail.com>: > 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 v

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 <jrschneide...@gmail.com>: > On Tue, Jul 7, 2015 at 10:59 AM, Car

Re: Values from class to class

2015-07-07 Thread Carlos Andre
= p.qtdade ) 2015-07-07 4:08 GMT-03:00 James Schneider <jrschneide...@gmail.com>: > 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" <eucan...@gmail.com> wrote: > >> Hello to all , I

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

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

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

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

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 <eucan...@gmail.com>: > se é no ubuntu, poderia ser sudo apt-get install python-django; > se é no wi

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

Re: slide show

2014-07-22 Thread Carlos Andre
please! i need run that! 2014-07-22 11:43 GMT-03:00 Carlos Andre <eucan...@gmail.com>: > 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 <tevans...@googlema

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 <tevans...@googlemail.com>: > On Tue, Jul 22, 2014 at 10:38 AM, Carlos Andre <eucan...@gmail.com> wrote: > > Hello guys,

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

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

Re: Criar slideShow

2014-06-25 Thread Carlos Andre
> > 2014-06-24 21:50 GMT-03:00 Carlos Andre <eucan...@gmail.com>: > >> 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! >&

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

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

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

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)

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

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

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.

Re: DJANGO_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
which > will teach you how to set this variable properly. > > HTH > > Jirka > -- > *From: * Carlos Andre <eucan...@gmail.com> > *Sender: * django-users@googlegroups.com > *Date: *Tue, 14 Aug 2012 15:48:18 -0300 > *To: *<django-users

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 <satinder.goray...@gmail.com> > On Tue, Aug 14, 2012 at 9:42 PM, Car

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

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

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

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