Re: django beginner

2015-03-13 Thread Luis Zárate
Your python configuration is ok. so I guest you have someone of this problem. - Your work path has spaces and python confuse with them. - Your system mimetype for .py use notepad++ for open it. I don't know if this solve your issue but I think that check this prevent you a headache I test

Re: Django multiple application with common users

2015-03-16 Thread Luis Zárate
You maybe need to take a look documentation of using routes. https://docs.djangoproject.com/en/1.7/topics/db/multi-db/#using-routers 2015-03-16 8:47 GMT-06:00 Domagoj Kovač : > Hi Raphael, > > I also though this are may options, although first option is the easiest i >

Re: Problem at server startup

2015-03-28 Thread Luis Zárate
What is your machine name? It had a non ASCII character? Do you use __unicode___ ? In python 3 is __str__ El sábado, 28 de marzo de 2015, Anderson Resende < andersonresend...@gmail.com> escribió: > Put this code on first line in your files.py: > > # -*- coding: utf-8 -*- > > > Maybe work! > >

Re: Help on how to be able to properly install python 3.4.3 idle

2015-04-03 Thread Luis Zárate
Are you looking for IDE ? Look here https://code.djangoproject.com/wiki/DjangoResources#IntegratedDevelopmentEnvironments 2015-04-03 23:00 GMT-06:00 Sreenivasarao Pallapu : > To kick start your Python learning go to > https://www.udacity.com/course/ud036, (or) > if

Re: Multiple Django Forms

2015-04-04 Thread Luis Zárate
mmm Maybe you should use form wizard if you have too many forms https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/ 2015-03-31 5:11 GMT-06:00 Bill Blanchard : > Hi Stephanie, > Ping me offline, I might be able to help you out. > On Mar 30, 2015

Re: Using Unicode in django

2015-04-04 Thread Luis Zárate
Are you runing python 2.7.x ? Think in python 3 compatibility and solve your problem This code can help you. from __future__ import unicode_literals from django.utils.encoding import python_2_unicode_compatible @python_2_unicode_compatible class MyModel(models.Model): name =

Re: authenticate() not working

2015-04-04 Thread Luis Zárate
It's because you need to login the user (authenticate don't login only get the user ) It's something like this: from django.contrib.auth import authenticate, login def my_view(request): username = request.POST['username'] password = request.POST['password'] user =

Re: authenticate() not working

2015-04-04 Thread Luis Zárate
Sorry I forget to send you a reference link https://docs.djangoproject.com/en/1.7/topics/auth/default/#django.contrib.auth.login 2015-04-04 17:00 GMT-06:00 Luis Zárate <luisz...@gmail.com>: > It's because you need to login the user (authenticate don't login only get > the use

Re: Adding admin access for external users

2015-04-04 Thread Luis Zárate
Are you deploy your application ? https://docs.djangoproject.com/en/1.8/howto/deployment/ It's important *Don't use development environment in production apps!!!* It's simple to login user in admin site, create a user and check the *is staff* option and set the user permissions. ( site admin

Re: Upload above apache web root?

2015-04-07 Thread Luis Zárate
Hi, Django provide for development MEDIA_URL and MEDIA_ROOT for uploaded file, for production used static deploy strategy, see the documentation about static files. Model file field has an url attribute that return a media url, you use in template like {{obj.file.url}} El martes, 7 de abril de

Re: Upload above apache web root?

2015-04-07 Thread Luis Zárate
dmin/', include(admin.site.urls)), > url(r'^', include('myproj.urls', namespace='myproj')), > ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) > > On Tue, Apr 7, 2015 at 12:30 PM, Luis Zárate <luisz...@gmail.com> wrote: > >> Hi, >> >> Django provide

Re: show code in template

2015-04-07 Thread Luis Zárate
I don't understand what you want to do but I guest it's like verbatim https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#verbatim 2015-04-07 12:18 GMT-06:00 Hanz : > Hi everyone, > i want to show some piece of code on my website. What is the best way to > do it? (embed

Re: TIMEZONE

2015-04-08 Thread Luis Zárate
Do you have installed pytz ? Django use it when USE_TZ is True. 2015-04-08 6:54 GMT-06:00 Olalla Galiñanes Feijoo < olalla.galina...@gmail.com>: > Time zone support is disabled by default. To enable it, set USE_TZ = True >

Re: TIMEZONE

2015-04-08 Thread Luis Zárate
Other thing that I forgot in the last mail is how use function now() Wrong solution from datetime import datetime datetime.now() Good solution from django.utils import timezone timezone.now() 2015-04-08 10:16 GMT-06:00 Luis Zárate <luisz...@gmail.com>: > Do you have insta

Re: Model with two e-mail fields uniques

2015-04-08 Thread Luis Zárate
I don't know if work with many to many is the best approach, because if you know that only have two emails for user and you check his email a lot then the cost of join in time and machine resources increase innecessarily So knowledge of you requirements determine your db scheme. Using the first

Re: django 1.8 and wsgi_mod

2015-05-07 Thread Luis Zárate
Your server log said this (loading my.wsgi) Exception occurred processing WSGI script '/code/projects/my_web/wsgi/my.wsgi'. But your structure said that wsgi file is called different (idrac.wsgi). Other thing, call core your app is not a good idea, do it if you understand well how python import

Re: NoReverseMatch at /polls/1/results/

2015-05-08 Thread Luis Zárate
Which urls.py you paste here? The project URLs or the app urls .? It is because you are using namespace in the url reverse so you need to named in your project's URLs and put the code paste here in your app urls. El jueves, 7 de mayo de 2015, James Schneider escribió: >

Re: NoReverseMatch at /polls/1/results/

2015-05-08 Thread Luis Zárate
Sorry, James is right, your problem is like James described. Sorry for the noise I read again and see that I understood bad your problem. Sorry El viernes, 8 de mayo de 2015, Luis Zárate <luisz...@gmail.com> escribió: > Which urls.py you paste here? The project URLs or the

Re: httml form to django

2015-05-20 Thread Luis Zárate
And you need to put inside the form the csrf token . {% csrf_token %} ... See: https://docs.djangoproject.com/en/1.8/ref/csrf/ 2015-05-20 16:40 GMT-06:00 술욱 : > Hi, > > just make sure you match your input names with what Django expects. For > example: > > If the HTML is

Re: Kivy and Djangp

2015-05-20 Thread Luis Zárate
Take a look at this http://kivy.org/docs/api-kivy.network.urlrequest.html for Kivy and http://www.django-rest-framework.org/ for django. You need to do a web service with django I suggest a restfull service and with kivy urlrequest create a client. 2015-05-13 18:07 GMT-06:00 john

Re: change the style of the forms been render in the httml?

2015-05-21 Thread Luis Zárate
It is easy, you only need to put id attribute to form statement like this {{form.as_p}} In CSS use cascade starting by #myform. Other thing I was used form.as_p for printing as , but you could used form.as_ul or form.as_table too. By default as_table is set when you do {{form}} El jueves,

httml form to django

2015-05-21 Thread Luis Zárate
You don't need to alter any model, only need to create a form class (better) or using request.POST.get("username"). If you want to do in right way See https://docs.djangoproject.com/en/1.8/topics/forms/ El jueves, 21 de mayo de 2015, dk escribió: > I am not going to update

Re: How to concatenate two variables in a template for evaluation..

2015-05-21 Thread Luis Zárate
Mmm maybe creating a tag https://docs.djangoproject.com/en/1.8/howto/custom-template-tags/#writing-custom-template-tags In template {% mytag obj prop %} In tag function def mytag(obj, prop): return getattr(obj, prop) El miércoles, 20 de mayo de 2015, rishi sijariya

Re: How to use unlocalize in views

2015-05-25 Thread Luis Zárate
Set in yours Settings USE_I18N = FalseUSE_L10N = False See: https://docs.djangoproject.com/en/1.8/ref/settings/#use-i18n 2015-05-25 7:01 GMT-06:00 : > Hello guys! > > Is there a way to use unlocalize in views? I know that I can use this in > template ( >

Re: Migrating from sqllite3 to postgres

2015-05-25 Thread Luis Zárate
Mmm probably you are looking for export /import data in django. For export : python manage.py dumpdata --format=json myapp > data.json For import: python manage.py loaddata data.json See https://docs.djangoproject.com/en/1.8/ref/django-admin/#loaddata-fixture-fixture El lunes, 25 de mayo de

Re: Gmail oAUTH application for Django

2015-05-26 Thread Luis Zárate
Why don't you use django-allauth? http://www.intenct.nl/projects/django-allauth/ 2015-05-26 7:48 GMT-06:00 Great Avenger Singh : > Hello Django-People, > > I am writing a Gmail oAuth2 application with Django so one can login to > Gmail. (I have Desktop Python script

Re: Django formset hidden id field

2015-05-29 Thread Luis Zárate
Mmm I am not sure of this but I guest that this number is not a primary key (pk start in 1 not in 0 in postgres and mysql), it is a formset control number used by formset for group fields in the server side ( for create forms in correct order also) El miércoles, 27 de mayo de 2015, Matthias

Re: I am pretty Good with Django Now but wondered how to program with python with django

2015-06-06 Thread Luis Zárate
If you want open source IDE maybe aptana is the best option for me. I also usted to progam with ninja ide and eclipse + pydev, but now i use pluma in small projects and aptana in big projects, and obviously django shell and admin commands on console. El lunes, 1 de junio de 2015, James Schneider

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-06 Thread Luis Zárate
Did you serch for something like this https://www.*odoo*.com/, It is not django but it is in python and released under the AGPL license. If you want to build your software stack based in django then start searching in https://www.djangopackages.com/. 1. *CRM* system -> client database ->

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-06 Thread Luis Zárate
Some useful links: 1. CRM system > https://github.com/kunitoki/nublas -> client database > -> ticket system (client communication including sending emails from > backend) > https://github.com/wyldebeast-wunderliebe/mrwolfe https://github.com/rossp/django-helpdesk 2. Shop > ->

Re: how to uninstall the django version

2015-06-06 Thread Luis Zárate
If you do a virtual environment with pip it is easy. $ pip uninstall django 2015-06-02 23:45 GMT-06:00 Siddharth Tanna : > copy the file named django-admin from django folder in c: and paste it in > python folder[root directory] > > -- > You received this message

Re: No Email field in the User Registration Form

2015-06-06 Thread Luis Zárate
Where is your meta class ? It is not in __init__() function, is it? if it is then problem is there. class Meta: > model = CustomUser > fields = ['email',] > del self.fields['username'] > this is wrong, use exclude in Meta class to remove fields -- "La utopía sirve para caminar" Fernando

Re: Where can I find the admin/base_site.html

2015-06-07 Thread Luis Zárate
python -c " import sys sys.path = sys.path[1:] import django print(django.__path__[0] +'contrib/admin/templates/admin/base_site.html')" 2015-06-07 1:18 GMT-06:00 shimanyi valentino : > python -c "import syssys.path = sys.path[1:]import > djangoprint(django.__path__)" > >

Re: How to test email-verification in django-registration-redux application on localhost?

2015-06-09 Thread Luis Zárate
Put SITE_ID = 1 in your settings file to fix this error 2015-06-09 7:01 GMT-06:00 akshat : > You're using the Django "sites framework" without having set the SITE_ID > setting. Create a site in your database and set the SITE_ID setting or pass a > request to

Re: Forum app

2015-06-14 Thread Luis Zárate
Those links maybe can help you https://github.com/vicalloy/LBForum https://github.com/nitely/Spirit For more see https://www.djangopackages.com/grids/g/forums/ 2015-06-14 4:32 GMT-06:00 Arindam : > What are the stable forum apps ? > > -- > You received this message

Re: Errors with django-rest-auth and django-allauth

2015-06-20 Thread Luis Zárate
As say Stephen Butler you need to install django.contrib.sites (it not enable by default) and set SITE_ID = 1 in your settings. Here is the reference: https://docs.djangoproject.com/en/1.8/ref/contrib/sites/#enabling-the-sites-framework -- "La utopía sirve para caminar" Fernando Birri --

Re: Best Queryset Practice

2015-06-22 Thread Luis Zárate
Querysets are lazy, so Model.objects.all().filter(...) execute a same query that Model.objects.filter(...).all() and Model.objects.filter(...). For check this tray in shell str(Model.objects.all().filter(pk=1).query) str(Model.objects.filter(pk=1).all().query)

Re: ModelAdmin.save_as integrity error

2015-06-23 Thread Luis Zárate
Can I see your Substance save method? Maybe there are something wrong. El martes, 23 de junio de 2015, Mike Dewhirst escribió: > I commented out the save() method in the Substance model (the master model with a number of 1:1 and 1:n relationships) and it started saving

Re: Push Pics on to Website page?

2015-06-28 Thread Luis Zárate
Take a look this: https://github.com/caioariede/django-location-field 2015-06-28 9:03 GMT-06:00 : > Hi Everyone, > > Within Django is there a module to push picture files, i.e., jpeg, gif, > or an interface to Google's Map.API, onto a web site page? > > Regards, > Hal > >

Re: Búsquedas en una aplicacion

2015-07-07 Thread Luis Zárate
¿Que tipo de búsquedas desea hacer? Si son consultas en la base de datos puede usar el ORM de django para construir la consulta adecuada https://docs.djangoproject.com/en/1.8/topics/db/queries/ Si lo que busca es hacer un buscador para contenido de una página (blog, web page) entonces puede

Django 1.8 feature in 1.7.9?

2015-07-09 Thread Luis Zárate
Maybe you need to uninstall django first, clear pip cache and install again. pip uninstall django==1.7.9 rm ~/.cache/pip/*# or wherever it is pip cache folder pip install django==1.7.9 El jueves, 9 de julio de 2015, Tim Graham escribió: > The consequences of

Re: STATIC_URL with thumbnail_url Template Tag

2015-07-10 Thread Luis Zárate
Hi, Stephanie Your are using easy-thumbnails, right? so, are you sure that Pillow are right installed ? http://easy-thumbnails.readthedocs.org/en/latest/usage/ As I see your questions is same that this question http://stackoverflow.com/questions/12956788/how-to-thumbnail-static-files

Re: design decision tree survey using django admin interface

2015-07-14 Thread Luis Zárate
I know it is not the answer of your question but for your survey design it is important that you see this links. https://github.com/chrisglass/django_polymorphic https://github.com/django-mptt/django-mptt/ I know that because I did a survey app years ago, but unfortunately it is not free and it

Re: modelcluster

2015-08-18 Thread Luis Zárate
This sounds like $ pip install django-modelcluster and maybe put it in the settings file INSTALLED_APPS = ( ... "modelcluster", ... ) This is the repository https://github.com/torchbox/django-modelcluster. it is in github so you can make an issue because this project needs documentation. --

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-18 Thread Luis Zárate
You need to make a foreignkey to a user. if you have a custom user look here https://docs.djangoproject.com/en/1.8/topics/auth/customizing/#referencing-the-user-model but if it is a simple django authentication use import django.contrib.auth.models import User class Product(models.Model):

Re: Efficient Large Binary File Streaming

2015-08-18 Thread Luis Zárate
Did you look here https://www.djangopackages.com/grids/g/charts/ ? 2015-08-16 18:25 GMT-06:00 kanav002 : > This is my first week using Django and version 1.8 in particular. I'm > trying to figure out the best way to stream a raw, large, continuously > growing binary file to a

Re: Static version of a Django website ?

2015-08-18 Thread Luis Zárate
Do you need to do a backup ? (HTTrack , or wget recursive) or you need to migrate to other site? (make a backup from source and database ) you maybe need to collect structed data from the old site, so scrapy ( http://scrapy.org/) can help. 2015-08-14 8:49 GMT-06:00

Djangocon Costa Rica next year.

2015-08-18 Thread Luis Zárate
Hello everyone, I want to organize the first "djangocon Costa Rica" next year, I know it's too soon to speak about this but it's the first time here and it's very important to do it well, so the community and I are planning to start the coordination of the event, we are looking for place and

Re: Djangocon Costa Rica next year.

2015-08-19 Thread Luis Zárate
I think in two possibilities: 1) Request permission to use the DjangoCon name to the DSF. ¿How can do that? "The only exception to this is the name "DjangoCon", which must not be used without the permission of the DSF;" 2) Change the name to Spanish name like "Conferencias Django" (Django

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread Luis Zárate
Did you make migrations ? $ python manage.py makemigrations $ python manage.py migrate El miércoles, 19 de agosto de 2015, Remaze Vs escribió: > operationalError at/ > no such column:products_product.User_id > > -- > You received this message because you are subscribed to

Re: Time Zone Problem when following on tutorial

2015-08-20 Thread Luis Zárate
install pytz $ pip install pytz In settings USE_TZ = True https://docs.djangoproject.com/en/1.8/topics/i18n/timezones/ And the time_zone is TIME_ZONE = "America/Argentina/Buenos_Aires" More details in

Re: How do you access the HTTP data in a view derived from the generic View class?

2015-08-20 Thread Luis Zárate
with request.POST.get("foo", "") or request.POST.getlist("foo", [] ) 2015-08-20 13:58 GMT-06:00 Daniel Grace : > Suppose I have a view as follows: > > from django.views.generic import View > from django.http import HttpResponse > from braces.views import CsrfExemptMixin > >

What I need to know to be a Django full stack developer?

2015-09-04 Thread Luis Zárate
Hello everyone, I am looking for a remote job in the web, and in various sites are looking for Django full stack developer. I know several libraries and programs related with Django so I ask me what I need to know to be a full stack developer? I want to learn the tecnologies that I unknow,

Re: Electronic Notebook (ELN)

2015-09-04 Thread Luis Zárate
I don't know if you are looking something like trello (I thing do not), but junctionapps mentioned so i know taiga. If you want something like trello in Django take a look taiga. https://taiga.io/ https://github.com/taigaio 2015-09-04 7:30 GMT-06:00 junctionapps : >

Re: What I need to know to be a Django full stack developer?

2015-09-04 Thread Luis Zárate
hon), and database (to a lesser extent). You don't necessarily have to be an amazing designer to consider yourself "full stack", but you need to be able to do basic front end layouts and some javascript work. >> On Fri, Sep 4, 2015 at 9:29 AM, Luis Zárate <luisz...@gmail.com> w

Re: What I need to know to be a Django full stack developer?

2015-09-04 Thread Luis Zárate
s like > how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04 > <https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04> > . > > On Fri, Sep 4, 2015 at 9:30 AM, Luis Zárate <luisz...@gmail.com>

Re: How to make https work fine under django server?

2015-09-05 Thread Luis Zárate
https://www.digitalocean.com/community/tutorials/how-to-run-django-with-mod_wsgi-and-apache-with-a-virtualenv-python-environment-on-a-debian-vps This tutorial could help you. El sábado, 5 de septiembre de 2015, escribió: > I find there are some configuration about using

Re: What I need to know to be a Django full stack developer?

2015-09-06 Thread Luis Zárate
This is a good reference, thank you and thank you all that answer me. I understand well what is DFS and I will read this guide. El domingo, 6 de septiembre de 2015, Leco leco escribió: > You need this > http://www.fullstackpython.com/web-frameworks.html > > > On Friday, 4

Re: Multiple model form (not in line) on same page

2015-09-07 Thread Luis Zárate
Hi, Sorry some time ago I saw this project https://github.com/sikaondrej/django-multi-model-form, but now is not found, I did a copy of the code, but it is in spanish, I don't have time to translate this now but can be useful. -- You received this message because you are subscribed to the

Re: Django error report not being sent through email

2015-09-19 Thread Luis Zárate
Your SMTP server are not using TLS or ssl ? El sábado, 19 de septiembre de 2015, Gergely Polonkai escribió: > It belongs to settings.py, as everything else. However, if you haven't overridden it, it should send yeu the emails. Are you sure your e-mail sender settings are set

Re: Best way to trigger javascript function when returning a page from django view

2015-09-19 Thread Luis Zárate
In the success method do something like $('myform').reset (); I don't understand well but if you have cache clean it too. El sábado, 19 de septiembre de 2015, Martín Torre Castro < martin.torre.cas...@gmail.com> escribió: > Maybe I should have made the context more clear. > > First of all, we're

Django was present in FSD in Costa Rica

2015-09-21 Thread Luis Zárate
Hello everyone. The past week was the Free software day here in Costa Rica (Yes, It was a week of FSD's because it was in different days in different cities), we had 5 different events for this day in different cities. As part of our effort for introduce Django in this country I imparted two

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-21 Thread Luis Zárate
The error is in the template, please check the url statement inside the template. Or share with ours the template file. El sábado, 19 de septiembre de 2015, sankar vasu escribió: > Hi All, > > I got below error, please advise. please look at the following link:

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-22 Thread Luis Zárate
2015-09-22 12:48 GMT-06:00 sankar vasu : > {{ post.title }} try: {{ post.title }} If not found then check your project url.py , do you have something like urlpatterns = [ url(r'^$', include('myapp.urls') ), ] -- "La utopía sirve para caminar" Fernando

Re: Django 1.8 - It translates or it falls back when it should'nt...

2015-09-23 Thread Luis Zárate
I had the same problem with 1.8, l solved editing with external program called poedit. I don't know why django build wrong po file, but when compile the translation is not complete. El miércoles, 23 de septiembre de 2015, PyMan escribió: > Oh shame on me! I had this

custom setting provided by myapp

2015-09-23 Thread Luis Zárate
Hi, l have an app than need other apps to run well, I create a requirements file and setup file and insert the required apps in my settings, also include my custom configurations. I want to build the settings file automatically (with installer script) or when the user put my app in his

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-23 Thread Luis Zárate
;sankarmc...@gmail.com>: > Dear Luis, > > As you said, i tried but can't success. > > Thanks in advance > Sankar B > > On Wed, Sep 23, 2015 at 12:29 AM, Luis Zárate <luisz...@gmail.com> wrote: > >> >> 2015-09-22 12:48 GMT-06:00 sankar vasu <sank

Re: custom setting provided by myapp

2015-09-23 Thread Luis Zárate
have the possibility to change whatever he want and my app only guarantee that run well most of time. 2015-09-23 12:10 GMT-06:00 Bill Freeman <ke1g...@gmail.com>: > I would be upset to find an app that I installed fiddling with my project > settings. > > On Wed, Sep 23, 2015 at 12:

Re: Django admin suitable for external users?

2015-09-23 Thread Luis Zárate
I suggest you to create a custom admin site for your external user where you expose only the models that interact with the external user and create a middleware for forbidden access to the other admin site. 2015-09-23 14:49 GMT-06:00 Bill Freeman : > How technical are your

Re: Django admin suitable for external users?

2015-09-23 Thread Luis Zárate
Sure, you could have several admin site with the same models. I read an specific page about how to do that, but right now can remember what is the specific url. Those other links could help you. https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#the-register-decorator

Re: E-commerce

2015-09-24 Thread Luis Zárate
http://oscarcommerce.com/ or https://www.djangopackages.com/grids/g/ecommerce/ 2015-09-24 13:42 GMT-06:00 Paul Savignano : > Hi Django-users, > I am somewhat new to Django and have a client interested in an online > store/e-commerce for their foodservice operation. >

Re: Importing models from another app?

2015-10-18 Thread Luis Zárate
Is "mysite" in your python path? 2015-10-17 8:26 GMT-06:00 Gergely Polonkai : > How does it fail, what is the error message? My first guess is that you > should omit "mysite" from your import line, but without the exact message > it's hard to tell. > > Best, > Gergely > On

Re: Amazon.com API

2015-10-27 Thread Luis Zárate
This is not a Django question, so I suggest you to search on web and take a look amazon API in Amazon developer's site. El lunes, 26 de octubre de 2015, escribió: > First, I want to know if its possible to search for a product on Amazon.com and before returning the

Re: Dashboard packages?

2015-11-10 Thread Luis Zárate
take a look https://www.djangopackages.com/search/?q=dashboard 2015-11-10 20:47 GMT-06:00 Allison Ahn : > Hi all, > > I'd like to get an idea of what dashboard packages Django developers > prefer or are using instead of the out-of-box admin. > > Al. > > -- > You received

Re: Django on CentOS

2015-11-11 Thread Luis Zárate
Are you install your app as root user? (/root/pizzaclub) The permission denied it's because apache run as www-data or http user not as root, so if you install your app as root you probably have read/write permission problems and a big security issue. 2015-11-11 13:01 GMT-06:00 Robin Fourcade

Re: Django/Python based webmail

2015-11-20 Thread Luis Zárate
I saw that link, but it very basic. And doesn't have SSL support yet. Here was a big thread about secure mail service based on django months ago, maybe they did open source and it's available on internet El jueves, 19 de noviembre de 2015, Ander Linares < dorregaray.ander...@gmail.com> escribió:

Re: Problem of saving and uploading image with DJANGO

2015-11-22 Thread Luis Zárate
And how to call it on the views.py? Create a model form, https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#module-django.forms.models Lastly, how to display it on html? for instance you can do how should I set them and add in the urls.py? For develop environment static file

Re: Start Django automatically after restarting development system/server in Linux

2015-11-23 Thread Luis Zárate
Why I want to start a debug Django server after restating? I am searching an scenario. El viernes, 20 de noviembre de 2015, vidhi khatri escribió: > Hi friends, > Learn how to start Django automatically after restarting development systems/server in Linux. Share your

Re: Django formtools wizard with variable number of steps?

2015-11-23 Thread Luis Zárate
Did you see this https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/ ? El lunes, 23 de noviembre de 2015, Shawn H escribió: > I'm wondering if I can use django-formtools to accomplish what I want to. I have a License object, with a one to many

Re: Correct way to do async forms

2015-11-29 Thread Luis Zárate
take a look https://github.com/yceruto/django-ajax -- "La utopía sirve para caminar" Fernando Birri -- 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

Re: Migrate django project to eclipse/pydev ide

2015-12-28 Thread Luis Zárate
I use Aptana studio that is an eclipse fork and has pydev include also django is well supported. El miércoles, 23 de diciembre de 2015, Gary Roach escribió: > To your first question, in one word $money. I would love to use PyCharm but I am not a commercial developer

Re: 'CharField' object has no attribute 'model'

2015-12-28 Thread Luis Zárate
I guest the problem is here questions_included = models.ForeignKey(models.QuestionAnswer) Django models haven't QuestionAnswer. El sábado, 26 de diciembre de 2015, Simon Charette escribió: > Hi Billlu, > Does one your model use an ArrayField? > > Le samedi 26 décembre

Re: 'CharField' object has no attribute 'model'

2015-12-29 Thread Luis Zárate
I only read the code. I don't know if you refactorize your code, but based in the code above, I think is like this: class QuestionAnswer(models.Model): ... class QuizAttempt(models.Model): ... questions_included = models.ForeignKey(QuestionAnswer) 2015-12-28 22:57 GMT-06:00 Billu

Re: Display the form errors in the django template with ajax post

2015-12-29 Thread Luis Zárate
I do it like this create a form template (for abbreviation I will use {{form}} form_template.html > {{form}} > in include form_template.html public_contact.html > > > {% include 'form_template.html' %} > > and in the ajax response from django.template.loader import render_to_string

Re: Working with Django signals

2015-12-31 Thread Luis Zárate
I suggest you to change the user creation form to set the three attributes that you need (Is medical, is physuitherapist, is patient), so in the first form (when you create the user) you will have usernarme, password, Is_medical, is_physuitherapist, is_patient. Take a look -

Re: There's any framework for "bussiness app (ERP)" built in Django?

2016-01-04 Thread Luis Zárate
I know https://github.com/django-erp/django-erp, but I guest it's not for production yet (see develop branch). 2016-01-04 12:26 GMT-06:00 Fellipe Henrique : > Hello, > > I'm making some research but I don't find any framework for "bussiness > app", like ERP, using django

Re: Error: NoReverseMatch at / Reverse for 'submit' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried:[u'$submit'/]

2016-01-04 Thread Luis Zárate
El lunes, 4 de enero de 2016, Víctor Suárez urlpatterns = [ url(r'^', views.index, name='index'), url(r'^submit/(?P\d+)', views.submit, name='submit'), ] Because you have def submit(request, laser_id): escribió: > I don't see a namespace on url.py > > >

Re: how to set up jenkin's 'GitHub Pull Request Builder Plugin' for django ?

2016-01-08 Thread Luis Zárate
Do you know buildbot ? http://buildbot.net/ El viernes, 8 de enero de 2016, Abraham Varricatt < abraham.varric...@googlemail.com> escribió: > Hello everyone, > I've attained some success in my endeavor and wanted to talk about it (The following events take place over the past few days). > The

Re: how to set up jenkin's 'GitHub Pull Request Builder Plugin' for django ?

2016-01-09 Thread Luis Zárate
2016-01-09 3:49 GMT-06:00 Abraham Varricatt < abraham.varric...@googlemail.com>: > Are you aware of anyone using buildbot publicly? Sure, python is an example. See http://trac.buildbot.net/wiki/SuccessStories It has git support -- "La utopía sirve para caminar" Fernando Birri -- You

Re: how to set up jenkin's 'GitHub Pull Request Builder Plugin' for django ?

2016-01-09 Thread Luis Zárate
-statustargets.html#change-hooks 2016-01-09 9:59 GMT-06:00 Luis Zárate <luisz...@gmail.com>: > > 2016-01-09 3:49 GMT-06:00 Abraham Varricatt < > abraham.varric...@googlemail.com>: > >> Are you aware of anyone using buildbot publicly? > > > S

Re: invalid literal for int() with base 10: '' using FormSet with File Upload

2016-01-12 Thread Luis Zárate
What is the value of pk in study_form_set = DiagnosticStudyFormSet(request.POST, request.FILES, prefix='studies', queryset=DiagnosticStudy.objects.filter(diagnostic__id=pk)). ? Is pk an int? try print type(pk) El martes, 12 de enero de 2016, Néstor Boscán escribió: > Hi

Re: Showing BooleanField checkbox on left

2016-01-14 Thread Luis Zárate
Do you know django crispy forms ? http://django-crispy-forms.readthedocs.org/en/latest/ El miércoles, 13 de enero de 2016, Sayse escribió: > I'm in the process of trying to minimize the amount of code I need to use to render a form with bootstrap styling with the hope of

Re: django-embed-video error Unresolved tag 'video'

2016-01-15 Thread Luis Zárate
Are you using django 1.9 ? TEMPLATE_CONTEXT_PROCESSORS changed in 1.9 I saw the app and it have video tag so test again and check that you do all steps in the doc. El viernes, 15 de enero de 2016, Xristos Xristoou escribió: > > 0down votefavorite > > i want to create a video

Re: django-embed-video error Unresolved tag 'video'

2016-01-15 Thread Luis Zárate
Are you using django 1.9 ? TEMPLATE_CONTEXT_PROCESSORS changed in 1.9 I saw the app and it have video tag so test again and check that you do all steps in the doc. El viernes, 15 de enero de 2016, Xristos Xristoou escribió: > > 0down votefavorite > > i want to create a video

Re: django-embed-video error Unresolved tag 'video'

2016-01-15 Thread Luis Zárate
I thing the problem its here {% video my_video "large" %} You have a tag inside the other tag The reference https://docs.djangoproject.com/en/1.9/ref/settings/#templates El viernes, 15 de enero de 2016, Xristos Xristoou escribió: > yeah i thing so using django 1.9 help

How to run an external python script in my Django view

2016-01-16 Thread Luis Zárate
How you call your script in the view? You said that is import as from utils.scriptname import classname but what method do you call in the view. Remember, all code in script file that are not in a function o class will execute at import time. I guest you have something like def

Do you know any Django reservation app?

2016-01-20 Thread Luis Zárate
I need an app that do this: Public user can reserve a cite in specific datetime. Private user manage the cite status. I need to manage medical schedule with this app. -- "La utopía sirve para caminar" Fernando Birri -- You received this message because you are subscribed to the Google Groups

Re: Django installation guide on windows is not correct

2016-02-02 Thread Luis Zárate
did you have installed pip ? https://pip.pypa.io/en/stable/installing/ what version of pip do you have? -- 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

Re: Scaling Django

2016-02-04 Thread Luis Zárate
" It's hard to hire Django engineers " I don't think that this is a problem because good software developer can learn Django faster than other frameworks. For example I have a Costa Rican startup that develop in Django, as small company in small country we don't have inversor that allows to hire

Re: Running automated expiration date events

2016-02-08 Thread Luis Zárate
Maybe with celery and Django celery you can do what you want. There is a functionality called crontab that is manage by models with Django celery. So you can create cron task that will call when you need with a reference to you model. As an interesting problem, think in the moment of update you

  1   2   3   >