Re: Word file Display and Save??

2011-01-29 Thread Andre Terra
What's the rationale behind attaching a .doc file to a user profile? I'm willing to bet $20 this isn't the best solution for what you need. Sincerely, André Terra On Sat, Jan 29, 2011 at 10:18, Andy McKay wrote: > > On 2011-01-28, at 8:16 PM, nicolas lubkov wrote: > > Hello all, is there a way

Re: need help following tutorial part 1

2011-01-29 Thread Andre Terra
Quick and dirty solution: python django-admin.py startproject mysite or Add C:\PathToYourDjangoInstall\Scripts\ to your PATH environment variable. This can be done in one of two ways. #1 (EASIER) Open 'System Properties' (hit WindowsKey + PauseBreak, or right-click on My Computer and select 'Pro

Re: Storing *big* texts in db fields

2011-01-31 Thread Andre Terra
I'm not really experienced, but my approach would be to reference files in some open format in the DB and use python to edit open/edit/save them. Sounds leaner, cleaner, faster, imho. Sincerely, André Terra On Mon, Jan 31, 2011 at 23:22, Karen McNeil wrote: > I've created an application to ma

Re: Filtered drop down choice django

2011-02-02 Thread Andre Terra
Patches are welcome! On Wed, Feb 2, 2011 at 07:48, Derek wrote: > I suspect I am not the only one really hoping for An Official Way to > be developed at some time... > > In the meantime, also look at: > http://www.stereoplex.com/blog/filtering-dropdown-lists-in-the-django-admin > > I think this

Re: Best DRY practices for a view function that will be used by all other views.

2011-02-05 Thread Andre Terra
You don't need a "dedicated" login page with a form like the default login for django admin. All you need is a urlpattern (i.e. domain.com/login) that would allow for forms in other pages to POST to it. You would obviously need a view to handle that POST, but you don't need to link to it anywhere i

Re: Login, Password Recovery, etc

2011-02-14 Thread Andre Terra
Is it just me or there aren't any downloads available for these projects? I'm behind a firewall and can't really try cloning from git. Thanks in advance for the help Sincerely, Andre Terra On Sun, Feb 13, 2011 at 7:40 PM, indymike wrote: > Andres - > > Thank you. Th

Re: Class-based views & authentication

2011-02-16 Thread Andre Terra
Thank you for sharing that, Pascal. I'm already using it on my project! I've modified get_login_url to fallback to settings.LOGIN_URL, though. I'll keep an eye open on the development of this, as CBVs really are great to work with. Sincerely, Andre Terra On Wed, Feb 9,

Re: Class-based views & authentication

2011-02-16 Thread Andre Terra
I should also add that the functionality described in the docs simply did not work for me: http://docs.djangoproject.com/en/dev//topics/class-based-views/#decorating-the-class My attempt to follow that approach is registered here: http://dpaste.com/hold/423359/ Sincerely, Andre Terra On Wed

Re: Class-based views & authentication

2011-02-17 Thread Andre Terra
Reported! http://code.djangoproject.com/ticket/15328 Sincerely, André Terra 2011/2/16 Łukasz Rekucki > On 16 February 2011 19:46, Andre Terra wrote: > > I should also add that the functionality described in the docs simply did > > not work for me: > > > http://docs.

Re: Filtering List based on a custom dropdown

2011-02-20 Thread Andre Terra
I'd also like some input on this, as I'm reaching a point of my project where I'll have to deal with a similar issue. I was planning on using ajax, which actually means keeping it simple IMHO, but I would really like to follow best practice. Should I make one query with a large subset of the data

Re: Filtering List based on a custom dropdown

2011-02-22 Thread Andre Terra
Thank you, that looks great. I'll have a look at it later today. Sincerely, Andre Terra On Tue, Feb 22, 2011 at 3:59 AM, Derek wrote: > On Feb 21, 4:22 am, Andre Terra wrote: > > I'd also like some input on this, as I'm reaching a point of my project > > where I&

django-pluggables urlconf problem (NoReverseMatch TemplateSyntaxError)

2011-02-24 Thread Andre Terra
com/nowells/django-pluggables/blob/master/examples/sillywalks/views.py#L62 What exactly am I supposed to pass to my version of that class? Finally, my traceback: http://dpaste.com/444858/ FTR, using {% url %} instead of {% pluggable_url %} yields the same error. Thanks again in advance! Sin

Tracking Row changes

2011-02-24 Thread Andre Terra
Hello everyone, I'd like to log user changes to MyModel in an app I'm writing. What are some third-party solutions that you recommend for this? I'm not so interested in revision capabilities because I think that may increase the db tremendously in a very short time (I'm working with 2000+ new rows

Re: Tracking Row changes

2011-02-24 Thread Andre Terra
Thanks a lot! Will look into it first thing tomorrow. Meanwhile, if anyone has other suggestions, keep them coming, please. Thanks in advance! Sincerely, André On Thu, Feb 24, 2011 at 6:15 PM, elijah rutschman wrote: > On Thu, Feb 24, 2011 at 2:54 PM, Andre Terra wrote: > > Hello

Re: django-pluggables urlconf problem (NoReverseMatch TemplateSyntaxError)

2011-02-25 Thread Andre Terra
pluggable_url > > Thanks, > Nowell > > On Feb 24, 10:15 am, Andre Terra wrote: > > Hello, folks > > > > I'm trying to use django-pluggables ( > https://github.com/nowells/django-pluggables) and I'm having a very hard > > time figuring out how to

Re: sqlite path

2011-02-25 Thread Andre Terra
Try appending the custom location to the beginning of your PYTHONPATH. Sincerely, Andre Terra On Fri, Feb 25, 2011 at 5:28 PM, Tim wrote: > hi, > I'm using Django 1.2.3 and I have a new sqlite (3.7.5) installed in a > custom location. > There is an old sqlite (3.6.23.1) instal

Re: serving static files

2011-02-26 Thread Andre Terra
Are you sure you have that urlpattern in your project's urls.py rather than an app's urls.py? Regards, Andre On Sat, Feb 26, 2011 at 8:14 AM, wrote: > it should work, but it's not clear why you want that. (This regex also > match "notvalidsite_media/image.

About database composite keys.

2011-03-22 Thread Andre Lopes
Hi, I'm new to Django and I have some doubts about the Database Design. I design Databases two years from now but I'm not accustomed to design databases without composite keys. I have read that Django does not support composite keys. True? How is the philosophy of database design in Django... Al

Re: How make CSRF middleware emit html4 rather than xhtml1.0 (closing tags issue) so will validate?

2011-03-22 Thread Andre Terra
Hello, Chris Your forms are "always" going to be created using Form classes, but you can still customize the template, unless you use {{ form.as_p }} or other similar methods. These methods are built-in for the sake of simplicity and writing fast code, but you'll see that most of everything that i

Some clues on multi language webapp on Django

2011-03-22 Thread Andre Lopes
Hi, I'm new to Django. I need some clues on how to design a multi language webapp on Django. There are some some examples, tips and tricks about the best way of doing it? PS: Sorry for my english. Best Regards, -- You received this message because you are subscribed to the Google Groups "Djan

Where to put generic Database Tables?

2011-03-22 Thread Andre Lopes
Hi, I'm trying to start with Django. I'm developing an App. This App is called "Directory" and will store info about websites. I must to create a database table called "Genders", but this is a generic database table and could be used in other App. My question... how to deal with this kind of si

Re: ANN: Django 1.3 released

2011-03-23 Thread Andre Lopes
I'm kind of sad :) I have installed 1.2 one day ago... :O Just kidding. Congratulations to all people involved. Best Regards, On Wed, Mar 23, 2011 at 10:02 AM, Sultan Imanhodjaev wrote: > Wow!!! Congratulations people, thanks to developers! > > On Wed, Mar 23, 2011 at 3:59 PM, Marco wrote

Re: Generic views v.s. shortcuts

2011-03-23 Thread Andre Terra
have make your views easier to refactor/maintain in the long run. And given that CBVs are very new to django, suggestions on how to improve them and reduce boilerplate are always welcome. I'm sure there is lots of room for improvement. Sincerely, Andre Terra On Wed, Mar 23, 2011 at 7:31 AM,

How does localization work in Django?

2011-03-23 Thread Andre Lopes
Hi, I have reading some topics of http://docs.djangoproject.com/en/1.3/topics/i18n/localization/ But have not understand what I need to do. First what I intend to do... I have created a new App, called "directorio", and now I need to have the capability of translate the data inside some databas

Re: Generic views v.s. shortcuts

2011-03-23 Thread Andre Terra
tionary to shortcuts/generic views like in the code you wrote. Please read http://docs.djangoproject.com/en/dev//topics/generic-views/ for further info and lots of examples. Cheers, Andre Terra On Wed, Mar 23, 2011 at 11:54 AM, Kevin Renskers wrote: > Hi Andre, > > Well, it woul

Re: How does localization work in Django?

2011-03-23 Thread Andre Terra
instructions on how to setup gettext on windows. I must stress my recommendation that you use virtualenv. Don't forget to add the relevant paths to gettext or other utilities in virtualenv should you decide to use it. There's documentation on that around the web too. Sincerely, Andre

Re: How does localization work in Django?

2011-03-23 Thread Andre Lopes
Hi, Thanks for the reply. I have installed getttext on windows. What more details do you need to get the cause of the error? I'm using Django 1.3 Best Regards, On Mar 23, 4:46 pm, Andre Terra wrote: > This has more to do with how you setup your python environment than

Should I use Python 2.6 with Django 1.3?

2011-03-24 Thread Andre Lopes
Hi, I'm new to Django. In my system I have Python 2.6 and Python 2.7 installed, but due to some inconsistencies in Python Path I will uninstall the Python versions and install again. What I need to know is if Python 2.6 will work without problems with Django 1.3 Best Regards, -- You received t

How to install psycopg2 using Pip?

2011-03-24 Thread Andre Lopes
Hi, This question is not directly related with Django, but with Python. I have installed "virtualenv" to have a virtual environment. Now I need to instal "psycopg2" in my virtual environment, but I have not successfully installed. My steps: [quote] pip install http://pypi.python.org/package

Re: How to install psycopg2 using Pip?

2011-03-24 Thread Andre Lopes
Thanks for the reply. How can I do that? I'm new to Python, I'm not aware of what is Python path. Best Regards, On Mar 24, 3:10 pm, Shawn Milochik wrote: > Ensure that pg_config is on your PATH and it should work. -- You received this message because you are subscribed to the Google Groups

Re: How to install psycopg2 using Pip?

2011-03-24 Thread Andre Lopes
I have solved. I just edited "setup.cfg" on the psycopg2 and added: pg_config=C:\Program Files\PostgreSQL\8.4\bin\pg_config.exe Thanks for the help. Best Regards, On Mar 24, 3:49 pm, Shawn Milochik wrote: > This actually has nothing to do with Python -- I'm talking about your > PATH, not yo

Re: extend User Model for custom fields

2011-03-25 Thread Andre Terra
This is the correct way: http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/ Sincerely, Andre Terra On Fri, Mar 25, 2011 at 11:26 AM, Antonio Sánchez wrote: > i have found this: > http://digitaldreamer.net/blog/2010/12/8/custom-user-profile-and-extend-user-admin-

Re: unique_for_date not working?

2011-03-25 Thread Andre Terra
Overwrite the model's save method and add the date automatically on save. That is the best way to do most things "auto" in your models. Sincerely, Andre Terra On Fri, Mar 25, 2011 at 12:48 PM, Ryan Osborn wrote: > The problem with this is that the unique_for_date no longer wo

Re: OT: Django broke my Dropbox

2011-03-29 Thread Andre Terra
"Whoa, this is *so* much better than grep it's not even funny." -- Jacob Kaplan-Moss , creator of Django. +5!! Thanks for the link Cheers, André Terra (airstrike) On Mon, Mar 28, 2011 at 6:42 PM, Shawn Milochik wrote: > On Mon, Mar 28, 20

Re: Dynamically generating form fields

2011-03-31 Thread Andre Terra
I've been fighting to get this to work for me to. I can point you to a few articles that are helping me achieve what I want. There's some black magic involved, but once you play with the code for a while you'll know what it does. http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/ http://douga

Re: How to create django custom login page?

2011-04-02 Thread Andre Terra
For the sake of clarity and future reference, let me suggest another approach that will suffice for some use cases. Sometimes your need can be solved simply by extending upon the original login page, without rewriting anything. For example, if you would like to take e-mails rather than usernames (

Re: multilingual django

2011-04-04 Thread Andre Terra
You'll need to run something like ./manage.py makemessages -l pt_BR This would be the command for generating Brazilian Portuguese language files. -l is the same as --locale=pt_BR. Please refer to the docs for some specifics. These two sections should be the most relevant for you right now: http

jQuery namespace woes - calling third-party scripts

2011-04-04 Thread Andre Terra
Hello. I'm trying to run the supersleight jQuery plugin ( http://allinthehead.com/retro/338/supersleight-jquery-plugin) for fixing PNG transparency in IE6 (this is a corporate intranet project, so I must support it). However, I'm having trouble calling the script because it's telling me jQuery is

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

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 u

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: heavy refactoring

2015-06-11 Thread Andre Avorio
Hi Mike, I had the exact same problem and after investigating I ended up creating a new app from scratch and porting the code and data across. I don't remember finding any specific documentation on this on Django's website. Did I miss something, or should we consider adding a couple of notes on

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 grou

Re: Values from class to class

2015-07-07 Thread Carlos Andre
0, 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

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

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

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 a

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 t

Re: import django fails, what should I look at?

2014-07-20 Thread Andre Terra
You should use pip to install django. This is how I go about it, from a fresh install. mkdir ~/virtual mkdir ~/projects pip install virtualenv # unnecessary in python 3.3+ pip install virtualenvwrapper # use this. it will make your life much simplerecho "export WORKON_HOME=$HOME/virtual" >> ~/.ba

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

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 t

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

Re: import django fails, what should I look at?

2014-07-25 Thread Andre Terra
On Sun, Jul 20, 2014 at 12:57 PM, Andre Terra wrote: > pip install -e git#https://github.com/django/django.git For the record, the right command is pip install -e git+ https://github.com/django/django.git#egg=django -- You received this message because you are subscribed to the Google Gro

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,

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 com

Re: How do I use mathematical calculations on my forloop Article/Publication list?

2013-11-23 Thread Andre Terra
Take a look at the docs for aggregation and annotation and using F expressions in them. I just skimmed over your email, but there might be something useful to learn there. https://docs.djangoproject.com/en/dev/topics/db/aggregation/ https://docs.djangoproject.com/en/dev/ref/models/queries/#f-expre

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 configu

Re: recommended fcgi way for django 1.6 on windows? Problems with https

2014-04-14 Thread Andre Terra
I've used nginx in windows with great results. In fact, I even compiled it on cygwin with additional modules (namely, to track large file uploads) and everything worked smoothly. Cheers, AT On Mon, Apr 14, 2014 at 1:48 PM, anton wrote: > Hi > > I did a test with modwsgi on windows with apache

Re: django output pdf problem

2014-04-24 Thread Andre Terra
Relevant Stack Overflow question/answer: http://stackoverflow.com/a/9970672/447485 In short, you can't do it over simple Ajax, but you can emulate it. Cheers, AT On Thu, Apr 24, 2014 at 8:56 AM, Tom Evans wrote: > On Thu, Apr 24, 2014 at 4:31 AM, 张永强 wrote: > > > > In my program, I want to

Re: Anyone interested in reviewing the code of a small project - BookMarker

2014-05-26 Thread Andre Terra
Why are you using the webbrowser library? I don't see how it makes sense.. Cheers, AT On Mon, May 26, 2014 at 12:32 PM, Aseem Bansal wrote: > Thanks Shmengie. I was thinking of using class based views as it was > pointed in tutorial that they are better but I was not sure which ones are > goo

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

Re: Criar slideShow

2014-06-25 Thread Carlos Andre
-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! >> >&

Following tutoria: View not defined

2017-10-29 Thread Andre Basel
I am totally new to Django, and working through the following tutorial https://djangobook.com/views-urlconfs/ Ihavecreatddf the following view in views.py from django.http import HttpResponse def hello(request): return HttpResponse("Hello world") And then as per the tutorial updated urls

Re: Following tutoria: View not defined

2017-10-29 Thread Andre Basel
n urls.py file like this: > > > from django.conf.urls import url > from django.contrib import admin > > from yourapp.views import *hello* # <<<<<< > > urlpatterns = [ > url(r'^admin/', admin.site.urls), > url(r'^hello/$', hello), > ]

Re: Following tutoria: View not defined

2017-10-29 Thread Andre Basel
Thanks again :) That was it. On Monday, October 30, 2017 at 10:56:34 AM UTC+13, cjacq...@gmail.com wrote: > > Did you try http://127.0.0.1:8000/hello/ ? > > Le dimanche 29 octobre 2017 21:39:12 UTC+1, Andre Basel a écrit : >> >> I am totally new to Django, and worki

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 t

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 cl

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

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

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 tel

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 w

Mysql blob field and django

2015-09-09 Thread Andre Jonker
I use python 3.4.2 + django 1.8 + Mysql database. + Table persons with blob fields in which a photo of a person My question is how can I retrieving and saving a photo with django. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscri

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

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 subscrib

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/#!for

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

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 a

Re: django project exe

2016-01-22 Thread Carlos Andre
nded, 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! >>

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

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 flavo

DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-27 Thread Andre Foote
I've wired up a Django 3.0.1 Application using the default, DB-backed session configurations. MIDDLEWARE has "django.contrib.sessions.middleware.SessionMiddleware", INSTALLED_APPS has "django.contrib.sessions". During file import (using django-import-export) I see that while session records are

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-27 Thread Andre Foote
heritence of folder permissions but that didn't work - any pointers would be appreciated.) However I'm using the default configuration for sessions that's supposed to be database-backed. On Tuesday, April 27, 2021 at 9:52:03 PM UTC+2 Ryan Nowakowski wrote: > > > On April

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-06-08 Thread Andre Foote
ril 27, 2021 11:15:57 PM CDT, Andre Foote > wrote: >> >> FileNotFoundError at /admin/region/country/process_import/ >> [Errno 2] No such file or directory: '/tmp/tmpu31qxebf' >> *Request Method*: POST >> *Request URL*: http://myurl/admin/region/country/pr

Re: GeoDjango in Ubuntu 8.10, Segmentation Fault

2008-12-02 Thread Andre P LeBlanc
Confirmed also. only happens on my 64-bit machine, and is not related to apache at all as I can reproduce it faithfully in ipython. On Dec 2, 8:32 pm, GRoby <[EMAIL PROTECTED]> wrote: > I can confirm that all of my seg faults were all on my 64 bit machine > but could not be duplicated when I trie

Re: GeoDjango in Ubuntu 8.10, Segmentation Fault

2008-12-03 Thread Andre P LeBlanc
omly throw 500's, but not in any consistent way. On Dec 3, 5:06 am, rcoup <[EMAIL PROTECTED]> wrote: > Hi, > > On Dec 3, 5:21 pm, Andre P LeBlanc <[EMAIL PROTECTED]> wrote: > > > Confirmed also. only happens on my 64-bit machine, and is not related > > to a

Re: Session based messages without touching DB

2008-12-05 Thread Andre P LeBlanc
probably use it in my next project. Cheers, Andre On Dec 5, 7:51 am, Thomas Guettler <[EMAIL PROTECTED]> wrote: > Hi, > > I use code based on "session based messages" > from:http://code.djangoproject.com/ticket/4604 > > What I don't like: There are two datab

Re: Session based messages without touching DB

2008-12-05 Thread Andre P LeBlanc
Sorry, I didn't notice that you said you didn't like the DB hits associated with the session based approach, you can use memcached sessions, or file-backed if avoid the database hits. :P On Dec 5, 12:33 pm, Andre P LeBlanc <[EMAIL PROTECTED]> wrote: > What about the patches

Re: Joining models on M2M field

2008-12-30 Thread Andre P LeBlanc
I think what you're trying to do can be accomplished with the queryset's .extra() method. something like Level.objects.all().extra(select={'unlocked':'count(**matching rows in the join table**) > 0'}) -Andre On Dec 30, 7:04 am, Deniz Dogan wrote: > Hi > &

Re: I Suck

2018-10-24 Thread Holger Otto ANDRE
Hello Weird !!! I just began the last week and I found it piece of cake. I am using Visual Studio 2017 community (its free) and you can find in MSDN and Microsoft Academy very simple to follow tutorials and samples You can give it a try *Holger André* On Wed, Oct 24, 2018 at 8:35 AM Edson Rodr

Re: Experienced django developer is needed.

2018-10-25 Thread Holger Otto ANDRE
Hello Can you give me more detials? regards *Holger André* Skype: hjoab1 Mobile/Whatsapp/Telegram : +(506) 8883-9645 Website: https://www.linkedin.com/in/hjoab/ San José, Costa Rica, Central America. The information contained in this e-mail is pr

Re: Setting up admin in visual studio

2018-11-05 Thread Holger Otto ANDRE
I don't get what you mean by admin page. BTW don't get confused 1) Visual Studio 2017 (what I uses for Python projects) 2) Visual Studio Code ( an very versatile editor from MS as well) Both can be used for Python development. *Holger André* Skype: hjoab1 Mobile/Whatsapp/Telegram : +(506) 8883

Re: Getting ```AttributeError: 'str' object has no attribute 'state_forwards'``` when running a migrations, Down there is the migrations file. please help

2019-10-22 Thread fils-aime walnes andre
Merci freo Le lundi 21 octobre 2019, adonis simo a écrit : > > # Generated by Django 2.2.3 on 2019-10-21 22:00 > > > > from django.db import migrations, models > > import django.db.models.deletion > > import django_extensions.db.fields > > > > > > class Migration(migrations.Migration): > > > >

Re: Getting ```AttributeError: 'str' object has no attribute 'state_forwards'``` when running a migrations, Down there is the migrations file. please help

2019-10-22 Thread fils-aime walnes andre
Merci freo Le lundi 21 octobre 2019, adonis simo a écrit : > > # Generated by Django 2.2.3 on 2019-10-21 22:00 > > > > from django.db import migrations, models > > import django.db.models.deletion > > import django_extensions.db.fields > > > > > > class Migration(migrations.Migration): > > > >

<    1   2   3   4   5   6