Re: How to make responsinator.com working with Django?

2015-03-13 Thread luis zarate
I have this problem with my site, if I put my public site http://www.solvosoft.com in responsinator.com all iframes are empty. I guest it's a security configuration to prevent Clickjacking protection. A proof of concept is writting a simple html page with Iframe. http://www.solvosoft.com;>

Re: django beginner

2015-03-13 Thread luis zarate
what is the output of django-admin --version ? Instructions: 1) open cmd 2) change your current directory to your work directory 3) run django-admi --version 4) copy and paste the output here. The output will be like "1.7.2" 2015-03-13 11:47 GMT-06:00 : > ok i

Re: Django OperationalError

2015-03-12 Thread luis zarate
If you deleted your db and created again and the issue persist then maybe the problem is in your apps. Try removing db, comment 3th party apps in settings and run migrate with only django core apps, put again 3th party apps and run migrate. El jueves, 12 de marzo de 2015, Collin Anderson

Re: How to track number of visitors on django site

2015-03-10 Thread luis zarate
I know django-statistics ( https://github.com/attuch/django-statistics ) but I have never used 2015-03-10 15:16 GMT-06:00 Andreas Kuhne : > Hi Vijay, > > Thanks for the suggestion, and we are of course using GA (I should have > mentioned that). The problem is our CEO

Re: Django 1.7 tutorial part 4, url

2015-03-07 Thread luis zarate
Do you have APPEND_SLASH=False in your settings? https://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#append-slash 2015-03-07 10:31 GMT-06:00 luis zarate <luisz...@gmail.com>: > > > 2015-03-06 18:39 GMT-06:00 Collin Anderson <cmawebs...@gmail.com>: > > H

Re: Django 1.7 tutorial part 4, url

2015-03-07 Thread luis zarate
2015-03-06 18:39 GMT-06:00 Collin Anderson : > Hi, > > That seems strange. The error says that there's no question with id=1. Are > you sure there's a question with id=1? > > The ending slash seems important to me. I don't know why it would work > without it. > > Collin > >

Re: Embedding a compiler to my web page

2015-03-07 Thread luis zarate
You should want to read about subprocess https://docs.python.org/3.4/library/subprocess.html Install your favorite compiler and call it with subprocess as a comand line program. 2015-03-07 9:01 GMT-06:00 Snehasish Sen : > How can I embed a c/c++ compiler to my site

Re: Form In modal

2015-03-04 Thread luis zarate
Fast solution: In Javascritp you can do this: element = document.getElementById("myinput"); window.open("http://127.0.0.1:8000/consulta/?consulta="+element.value, "MsgWindow", "width=200, height=100"); but continue reading Are you use ajax? If the answer is not, then see

Re: Using proxy kind of Table in Admin Interface

2015-03-04 Thread luis zarate
Maybe you can use get_queryset in the admin class and replace the query manager ref: https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_queryset https://docs.djangoproject.com/en/1.7/topics/db/managers/ you can do something like this: def