Re: Deploying to Heroku for first time, Dynos is blank, not recognizing Procfile

2014-01-07 Thread Vibhu Rishi
yes. just create a text file with no extension. Here's mine for reference : $ cat Procfile web: gunicorn qj.wsgi V. On Tue, Jan 7, 2014 at 9:31 AM, Scott Meyers wrote: > Programming newb, Trying to use Heroku for the first time for a Django > app. After I push it to Heroku, the Dynos field is

building multiple dynamic websites on the fly

2014-01-07 Thread Mrinmoy Das
Hi, I am thinking of building an application which will enable users to build their own websites on the fly. On my app you will need to sign-up and then from their you can make your own websites from your profile (with your own domain name). Can anyone guide me on the right way? Mrinmoy Das http

Re: Deploying to Heroku for first time, Dynos is blank, not recognizing Procfile

2014-01-07 Thread James Turley
Do you have a requirements.txt file (with all your requirements therein)? Heroku recognises python apps by its presence (although I'm told this is not yet 100% reliable - never tried myself). On Tue, Jan 7, 2014 at 9:55 AM, Vibhu Rishi wrote: > yes. just create a text file with no extension. He

Re: building multiple dynamic websites on the fly

2014-01-07 Thread Erik Cederstrand
Den 07/01/2014 kl. 11.03 skrev Mrinmoy Das : > I am thinking of building an application which will enable users to build > their own websites on the fly. On my app you will need to sign-up and then > from their you can make your own websites from your profile (with your own > domain name). Can

Re: Broken links even after change the site information

2014-01-07 Thread trojactory
Hi Carlos, The sites framework is used for storing a human readable name of a domain (in case you are serving your site from multiple domains). It does not change or modify the url structure of your site. There are only two places where you can actually change the URL structure. First option i

Re: building multiple dynamic websites on the fly

2014-01-07 Thread Mark Moss
So, you are trying to create a "website builder". instead of asking how to build the entire project, break the project into smaller chunks (like, login, profile mgmt, site creator, preview manager etc). Then start building it yourself and start asking your questions when you face challenges. -

Re: building multiple dynamic websites on the fly

2014-01-07 Thread Mrinmoy Das
Yeah I am working with django. Thing is I want the users to have their own domain names. Which I will store on my database and there site will be running on that domain name. But all these will be under a single django project. So how do I solve the urls and domain names? Mrinmoy Das http://goroml

Re: building multiple dynamic websites on the fly

2014-01-07 Thread Rafael E. Ferrero
2014/1/7 Mrinmoy Das > Yeah I am working with django. Thing is I want the users to have their own > domain names. Which I will store on my database and there site will be > running on that domain name. But all these will be under a single django > project. So how do I solve the urls and domain na

Re: building multiple dynamic websites on the fly

2014-01-07 Thread Mrinmoy Das
Hi, Is there a pure django solution towards this problem? Mrinmoy Das http://goromlagche.in/ On Tue, Jan 7, 2014 at 6:49 PM, Rafael E. Ferrero wrote: > > 2014/1/7 Mrinmoy Das > >> Yeah I am working with django. Thing is I want the users to have their >> own domain names. Which I will store o

Re: building multiple dynamic websites on the fly

2014-01-07 Thread Rafael E. Ferrero
Django its not a DNS Server you need one (like BIND) to point yours domains IMHO you can use python scripts for automate Bind config files. See u. 2014/1/7 Mrinmoy Das > Hi, > > Is there a pure django solution towards this problem? > > > Mrinmoy Das > http://goromlagche.in/ > > > On Tue, Jan 7

Re: Problem with jdbc postgresql driver

2014-01-07 Thread Ruth Fong
Hi Hugo + everyone, Was there any resolution to this problem? I'm experiencing a similar error and any help would be appreciated! :) - Ruth I've installed Jython2.5.2, Django-1.4, and django-jython-1.3.0. Following the JythonBook tutorial (http://jython.org/jythonbook/en/1.0/JythonDjango.html

Re: Startproject failing on Django 1.6

2014-01-07 Thread Petra Moessner
Probably your versions of Python and Django aren't compatible. I got the same error using Python 2.7.3 and Django 1.6. I upgraded to Python 2.7.6 and the error error went away. On Thursday, November 14, 2013 11:17:53 AM UTC-6, Steve Sawyer wrote: > > Ramiro - I only have a single version of Pyth

Question about Django X_FRAME_OPTIONS setting

2014-01-07 Thread Chen Xu
Hi I have a question about Django X_FRAME_OPTIONS setting, I am wondering how to set X_FRAME_OPTIONS to allow from, and how to specify a list of hosts that are able to display my page in their frames? Thanks in advance -- ⚡ Chen Xu ⚡ -- You received this message because you are subscribed to

Re: Startproject failing on Django 1.6

2014-01-07 Thread trojactory
Hi Steve, This is usually due to a path issue or an environment variable being previously set. Did you try using virtualenv? It is designed for isolating one python installation from another. I recently documented my experience on installing Python 3 on Windows and running virtualenv here: htt

Question about Django, Heroku, and MySQL

2014-01-07 Thread ET
Hi, I am currently attempting to deploy a basic Django app to Heroku. Ideally, I would like to use a remote MySQL db instead of Heroku's datastore. I have the app running locally, where it connects with the db fine. Does anyone have any pointers or tutorials on how to deploy this to Heroku?

Re: Question about Django, Heroku, and MySQL

2014-01-07 Thread carlos
Hi you check this link https://devcenter.heroku.com/articles/getting-started-with-django maybe help you !! Cheers On Tue, Jan 7, 2014 at 1:17 PM, ET wrote: > Hi, > > I am currently attempting to deploy a basic Django app to Heroku. Ideally, > I would like to use a remote MySQL db instead of He

Problem with using finders on multiple OSs

2014-01-07 Thread Shawn H
I'm having a problem with trying to find an image file so I can embed it in an openpyxl file. What I want to do is be able to locate this file, regardless of OS, and regardless of whether DEBUG is True or False. The problem is that I've got development occurring on both Windows and Mac (and a

Re: Problem with using finders on multiple OSs

2014-01-07 Thread Shawn H
I figured it out. I had to change my relative path to: '../static/images/DallasDColor.JPG' that loads it on several different Windows boxes, as well as my Red Hat box. On Tuesday, January 7, 2014 3:23:14 PM UTC-6, Shawn H wrote: > > I'm having a problem with trying to find an image file s

Incorporate jQuery grid with django

2014-01-07 Thread Igor Korot
Hi, ALL, This is my first post to this group so please bear with me for a sec. I successfully installed django and followed the tutorial to create a project and an application. It connects to my DB (mySQL) and everything is good. Now in the part 3 of the tutorial I need to create a view. I did c

Re: Incorporate jQuery grid with django

2014-01-07 Thread Thomas Murphy
Hi Igor, I'm unsure about the usb issue, but the "Django" way is to place all of your static files in a specific directory and use the manage.py collectstatic command, then serve them from a static location. This will allow you to offload your statics to a CDN as your site grows. Have a look at t

Re: Question about Django, Heroku, and MySQL

2014-01-07 Thread Mark Moss
Moreover, make sure that port 3306 is opened in the remote server to accept mysql connection. That's the easiest thing we sometimes overlook. - - Mark Check this *Instant Django Hosting *. No setup needed. Works out-of-t