Jump to content

Search the Community

Showing results for tags 'django'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Does anybody uses postgress (or any database) with django (ORM). I am struggling as there is no shell access. I don't know if it is possible to use django ORM on heliohost.
  2. Currently the wiki page : http://wiki.helionet.org/Django, shows wrong python version. I tried editing but I guess I Don't have required Privileges. Currently it shows: 3.6.6 It should be: 3.6.3
  3. One of my web app requires that the file is created for example on: '/home/patents/public_html/mysite/log.txt' but I got PermissionError at /[Errno 13] Permission denied: '/home/patents/public_html/mysite/log.txt' It is understood that it is not enabled for web server. Is there any way I can modify files using python3.6 script?
  4. Is there any restriction on outbound Internet access from My Django app so that if I cross that limit, I will be blocked? I started to love heliohost and I don't want to be blocked.
  5. I was trying Django to work on tommy. I am following this tutorial. My directory structure is: home/└── patents/ └── public_html/ ├── db.sqlite3 ├── manage.py └── hello/ ├── .htaccess ├── dispatch.wsgi ├── __init__.py ├── settings.py ├── urls.py ├── wsgi.py └── dispatch.wsgi I am however not able to see .htacess file using cPanner filemanager. I recently created the account. Is this the reason for error? I am getting this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@patents.heliohost.org to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. Please find attached the zipfile of my project.
  6. Hi all, Now project dependencies seems to be satisfied, my Django website is not properly configured because it is not loaded when accesing to https://inforiesgo.heliohost.org/ File .htaccess seems to be correct, I have followed the steps described in the Django wiki. I think the problem could be related to: Postgres: I created the postgres database and changed settings.py file in order to use this new database. Anyway, the creation of this database is just to create and asign it a superuser, not launching commands such as manage.py makemigrations or migrate, so the database should be empty. settings.py database configuration looks like: 'NAME': 'iniesta_inforiesgo', 'USER': 'iniesta_juanky', 'PASSWORD':*****, 'HOST':'127.0.0.1', 'PORT': '5432' static files: I made no changes related to the static files, so settings.py is the same than the one working in localhost:STATIC_URL = '/static/' Any help would be grateful. Thanks!
  7. Hello, I just uploaded my Django website and, after setting it up following the wiki, it is displaying a 500 internal server error when accesing to http://inforiesgo.heliohost.org I presume this is happening because my website is not properly configured (.htaccess, folder structure, ...) or because it is using the toolkit django-rest-framework that maybe is not installed in Tommy. Because of that, several questions came to my mind: Is it possible to install django-rest-framework (or other) in Tommy?Do I have access to the server error log files?My username in Tommy's server is iniesta. Thanks in advance!
  8. Hello everybody ! I tried to do this tutorial : http://wiki.helionet.org/Django . Unfortunately, it doesn't work at all. All I have is a 500 error : I think I made everything required, but unfortunately, that didn't work. However, there's something that I probably made bad : where should I put the .htcaccess ? IMHO, this could be better explained in the tutorial. And maybe there is a problem with the .htaccess example and the tree output provided below : it seems that only one 'hello' dir exist, but the .htaccess seems to require two : 'hello/hello/' If I have enough help, I'm volunteer to modify the wiki (if necessary). Thanks in advance !
  9. Hello, I'm trying to setup my new django powered website but I'm running into the SAME issues as the ones mentioned in this post. By the way, I have followed all the guidlines mentioned in the Heliohost site. My error message is: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@leolanchas.com.ar and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I would greatly appreciate if some one could help me with this! Thanks in advance...
  10. How can I deploy my Django project to Tommy: https://github.com/davidbgeek/drEdsby? What I've done is I've just renamed my wsgi.py to dispatch.wsgi. Not sure what else I'm supposed to do.
  11. Hi guys, thanks for your great work! I'd like to ask you whether there's a chance to have django on tommy, or on any other server. (I followed the instructions in the wiki to get django working, and then I discovered that isn't supported on tommy) account: albertoc site: sest.gq Cheers!
  12. I know that there was a previous post asking this question and I've read that post but it did not help. I followed the http://www.heliohost.org/home/features/languages/python. I made sure that I've changed all permissions (as required in the guide). I even tried the try except block in the wiki but I'm not sure how I can read the output. I don't see the error in the html header. http://wiki.helionet.org/Solving_Internal_Server_Errors This is my domain: http://www.rktteam.heliohost.org/
  13. Hi everyone Noob here. Sorry. First of all, I am looking forward to getting my teeth into scripting with Python and MySQL. I have my first simple script running, so all good there. However... I have looked at a lot of forum posts. Many seem to ask the same question, but none seem to provide any firm advice. Before anyone points me towards: http://www.heliohost.org/home/features/languages/python, can someone give me a Big Picture overview of Python, Django and why I can't import mySQLdb into my scripts? First of all, I thought my script was buggy, but even this doesn't work: #!/usr/bin/python import MySQLdb ...and I get a 500 error. The link above seems to give a series of instructions (for which I am very grateful), but these are very bottom-up. I am looking to make connections to make sense. Once I get my first mySQLdb script running, I'll be flying (I hope). Fingers crossed spangle (Darren)
  14. I need to deploy a Django 1.7 app to my account. It has been written in Python 3. Is there a deployment guide (heliohost specific) ? Is it possible to use these versions of Python/Django instead of the ones provided by default ?
  15. Hi, I am trying to deploy a Django App in Johnny, but it requires numpy. I tried to copy the numpy's source code into my public_folder and import it from there, but numpy is not supposed to be imported from the source tree, since it has some C libraries dependecies. Is it possible tha you would consider installing numpy and matplotlib in Johnny? I appreciate your attention. Best regards, Pedro
  16. Hi, I am trying to deploy a Django app in Johnny. But when I access my_domain.heliohost.org/, I get "Internal Server Error". I have checked the ErrorLog at the first time (accessed through cPanel) and seen the following: " [Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/404.shtml [Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/favicon.ico [Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/404.shtml [Fri Mar 20 06:34:14 2015] [error] [client 200.148.44.244] File does not exist: /home/pedrovgp/public_html/favicon.ico " I have added the above mentioned files, but I keep getting the same Error, and the ErrorLog shows me only those four messages, no matter how many times a try to access the url. I have followed instructions from HelioHost and from this url: http://www.thebrokendesk.com/post/deploying-a-django-site-to-heliohost/ I appreciate any help! Best regards, Pedro
  17. Hi! I just sign up in Jhonny two days ago and I uploaded my Django app. I use PostgreSQL as db backend, but Im having trouble to restore my DB running the backup script I previously generated with Pgadmin3. I created a new database, then I went to the "SQL" tag and ran my code. First odd thing I found was that in the public scheme of my DB there was more tables than it should be. I suspect there is some kind of policies in the server that "shares" the public scheme with all the databases. Is this it? Do I have to create a separated schema to store my data? Or should I use the public instead? Thans in advance
  18. Hello, i need help with configuring Django on Stieve. The error log is clear but server returns 500 error. http://imamatory.heliohost.org My configuration: dispatch.wsgi import os, sys sys.path.append('/home/denwer/public_html/zvukgroup'); os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' os.environ['PYTHON_EGG_CACHE'] = '/home/denwer/.python_egg_cache' import django.core.handlers.wsgi _application = django.core.handlers.wsgi.WSGIHandler() def application(environ, start_response): environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO'] return _application(environ, start_response) .htaccess RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ zvukgroup/dispatch.wsgi/$1 [QSA,PT,L] settings.py
  19. Hello, I've been trying for a while now to run a different version of Django on my site and got to wondering if Heliohost plans to upgrade the Django version on Stevie or Johnny? The file structure used in Django 1.3 has been deprecated for a couple years now and having another more recent Django version preinstalled on the server would make development and deployment much easier. It's an awesome framework and this is one of the few hosting sites (free or not) that supports it, so not much to complain about I suppose, just curious/hopefull that there may be plans to upgrade the version. Thanks, P
  20. I guest I've followed How do I use Python/Django? perfectly, exept the sentence: If it is your wish to develop on-site you will need to manually create a blank __init__.py file, a settings.py file, and a urls.py file. And after that, after following the guide, my specified subdirectory is now have an 500 Internal Server Error.. Do I need to install the Django web development framework manually before it'll work? Please help..
  21. I have followed every step to make my Django powered site (leolanchas.com.ar/syte) to work but all I get is an error 500 and the following log: [sun Jan 06 11:53:23 2013] [error] [client 83.36.255.43] File ".../public_html/syte/dispatch.wsgi", line 6, in ? [sun Jan 06 11:53:23 2013] [error] [client 83.36.255.43] mod_wsgi (pid=19418): Exception occurred processing WSGI script .../public_html/syte/dispatch.wsgi'. [sun Jan 06 11:53:23 2013] [error] [client 83.36.255.43] mod_wsgi (pid=19418): Target WSGI script '.../public_html/syte/dispatch.wsgi' cannot be loaded as Python module What is happening?
  22. I created a website using Django 1.5, and I managed to get it running on HelioHost! Here's what I did, after following the instructions at http://www.heliohost...anguages/python... First, I downloaded the Django-1.5.1.tar.gz file from the Django website. Then, I extracted it and uploaded the Django-1.5.1/django/ folder to /home/username/django_1.5_override/django. I also created an empty __init__ file in /home/username/django_1.5_override, to tell Python that it could import stuff from here. I'm not sure if it's needed, though. I then added a few lines to the dispatch.wsgi file; the modifications are in the first 3 lines: import os, sys oldpath = sys.path sys.path = ['/home/username/django_override/django-1.5.1/'] + oldpath sys.path.append("/home/username/myapp"); os.environ['DJANGO_SETTINGS_MODULE'] = 'myapp.settings' os.environ['PYTHON_EGG_CACHE'] = '/home/username/.python_egg_cache' import django.core.handlers.wsgi _application = django.core.handlers.wsgi.WSGIHandler(); def application(environ, start_response): environ['PATH_INFO'] = environ['SCRIPT_NAME'] + environ['PATH_INFO']; try: # added so that I can see errors if they occur; should be removed once the website is fully functional return _application(environ, start_response) except Exception, e: import traceback trace = traceback.format_exc() status = '500 Internal Server Error' output = trace response_headers = [('Content-type', 'text/plain'),('Content-Length', str(len(output)))] start_response(status, response_headers) return [output] Basically, what I did was to add the Django 1.5.1 folder to the beginning of sys.path, so that when Python needs to import django, it imports my uploaded one instead of the default one. After following these steps, Django 1.5.1 is running perfectly, and I can make use of all the new features!
  23. Hello, Yesterday I created an account with HelioHost and today I was trying to set up my previously developed django project with it by following these instructions: http://www.heliohost.org/home/features/languages/python. However, I don't know why whenever I try to access the site I get a 500 Internal Server Error. Help would be extremely appreciated. My username: aslet The site: http://alexisferreira.heliohost.org/ Thanks in advance, Aslet
  24. Hi, i made a subdomain and it is activated now . what must i do to use it ? what changes i must do to htaccess file ?
  25. Hi , I want to add a captcha to my form with django-simple-captcha package but it's not in python path , how install it on stevie ? is there be other package for captcha ?
×
×
  • Create New...