Jump to content

Search the Community

Showing results for tags 'django'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. Hello, I'm a bit new here so I would like to ask how do I deploy my django app here?
  2. Is there any chance Django on Tommy could be upgraded? It looks like the version currently installed is more than two years old.
  3. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at <> 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.
  4. Hello, I am new to Heliohost and already have a few problems. First of all, I can't access cPanel. When I login to https://www.heliohost.org/login/ and use the "continue to cPanel" button, I end up on a loading error page. Is it because it needs a really good internet connection ? If so, what should I do, as I cannot get a better one for now ? Secondly, I would like to host a Django application. I tried to follow the wiki-tutorial (https://wiki.helionet.org/tutorials/django), but all I get is a "basic hosting" of the files, and the app itself is not launched: when I go to my web address (mywebname.heliohost.us), I only get a list of the files and directories (db.sqlite3, manage.py, ...). If I host regular files (like .html files), I can access/see them without any problem. - Do you see what I could have missed when uploading my django app ? - What is the difference between the tutorial I followed (https://wiki.helionet.org/tutorials/django) and this one http://www.heliohost.org/classic/features/languages/python ? In particular, the second one says something about python's eggs, and that is not mentioned at all in the first one, so ... which is the "good" one ? Thanks in advance for any answer, hoping that my English is not too horrid ...
  5. Hi, I'm a newbie. How can I use Python (then Django) from cPanel since I didn't see it on the software section? Do I need to make a request for accessing it so it will be appeared on the cPanel or is there any way to do that? my username: ipurnama server: johnny Thanks for your help.
  6. Hi, How to configure background tasks, in flask/django(Python). Am used to celery module for running these tasks. Also I understand cron is restricted to once a day max. how do you guys handle such tasks on HelioHost? Br, akp
  7. Hi How're you all doing? hope you're keeping save. I am learning the Django frame-work and have been able to build a relatively simply CMS for myself but unfortunately some of the package requirement of my app have not been meet by the server. To this end, I solicit for the installation of the following packages on the Tommy server django-crispy-forms==1.9.1django-markdownx==3.0.1django-taggit==1.2.0django-treenode==0.14.2 I would also like to have remote access to a postgres database on my account from any IP address db-name = geoffery_blogDB db-username = geoffery_admin Thanks in anticipation and for the great work you and your team are doing.
  8. Hi, as a new developer I have been having problems deploying my django/python application to johnny. After several attempts, I cannot seem to be able to get access their CSS and other static files In my local server work ok, but when i upload to Johnny can't find my bootstrap css files settings.py INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'apps.hello', ] STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static_collected') STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'), '/home/username/public_html/helloserver/static/',) I add an exception for the static directory in my .htaccess .htaccess RewriteEngine On RewriteBase / RewriteRule ^(static/.*)$ - [L] RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(helloserver/dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ helloserver/helloserver/dispatch.wsgi/$1 [QSA,PT,L]Can you help me? Thanks
  9. Hi, I have a Django 3.0 project that I uploaded to Johnny, following the Django wiki, but I keep getting 500 Internal Server Error. On going back to the wiki I saw that only version 2.1.13 was supported as of Nov 2019. On searching the questions here I saw that as of Jan 2020 also Django 3 was not supported. The error report on cPanel seems similar to the error report in that question. Is my project not working because Django 3 is not supported? If so, when can support for Django 3 be expected?
  10. Hi All! I've used the wiki page to deploy my Django website. However unfortunately I get an error 500. I would love to have a look at the errorlog to get a handle on where to look but I don't know how to access these. Can anyone give me a hint? website: www.borisaelen.nl/borisaelen I've used https://wiki.helionet.org/Django as a reference and used the configs specified there. I only had to modify this line in the .htaccess: RewriteRule ^(.*)$ hello/hello/dispatch.wsgi/$1 [QSA,PT,L] I had to remove 1 time the hello/ because I've deployed my project directely into the public_html directory. (as is suggested in this wiki if I'm correct?) I've also had a look at this config: http://www.heliohost.org/classic/features/languages/python But that results in the same 500 error. I'm sure it's a permission or settings things in my django project but would love to get some more output. Is there amywhere I can look? Thanks! BTW my development environment is my Windows Laptop with: Django 3.0 Python 3.6 Visual Studio Code. I found this article where the line-endings are mentioned: https://www.helionet.org/index/topic/38835-python37-throws-500-but-python27-works/ I've tried to save all my files with Linux line endings (\n) and reupload with filezilla. no luck, still error 500.
  11. Hi, as a new developer I have been having problems deploying my django/python application to johnny. After several attempts, I now have the Hello World screen working, and I have access to /admin as well. However I cannot seem to be able to get the admin functions to access their CSS and other static files. site is http://www.hannaford.id.au/admin/ and output is Django administrationWelcome, Paul. View site / Change password / Log out Site administration Authentication and Authorization Groups Add Change Users Add Change Recent actions My actionsPaulH Useradmin GroupSo clearly I am logged in, but my attempts to follow advice in the forums, and elsewhere has not worked. Here is the tail end of my settings.py file.. # Static files (CSS, JavaScript, Images)# https://docs.djangoproject.com/en/2.1/howto/static-files/ STATIC_URL = 'hello/static/'STATIC_ROOT = os.path.join(BASE_DIR, 'hello/static/')STATICFILES_DIRS = [ os.path.join(BASE_DIR, "hello/static/"), '/home/paulfhan/public_html/hello/static/', 'c:/Users/Paul/Desktop/Projects/hello/hello/static/',]and here is my dispatch.wsg file import os, sys # edit your username belowsys.path.append("/home/paulfhan/public_html") from django.core.wsgi import get_wsgi_application os.environ['DJANGO_SETTINGS_MODULE'] = 'hello.settings' application = get_wsgi_application() and my .htaccess file RewriteEngine OnRewriteBase /RewriteRule ^(media/.*)$ - [L]RewriteRule ^(admin_media/.*)$ - [L]RewriteRule ^(hello/dispatch\.wsgi/.*)$ - [L]RewriteRule ^(.*)$ hello/dispatch.wsgi/$1 [QSA,PT,L]RewriteRule ^(hello/static/.*)$ - [L]. the directory tree is hello│ └───hello│ ├───static│ │ └───hello│ │ ├───admin│ │ │ ├───css│ │ │ │ └───vendor│ │ │ │ └───select2│ │ │ ├───fonts│ │ │ ├───img│ │ │ │ └───gis│ │ │ └───js│ │ │ ├───admin│ │ │ └───vendor│ │ │ ├───jquery│ │ │ ├───select2│ │ │ │ └───i18n│ │ │ └───xregexp│ │ ├───css│ │ └───images│ └───__pycache__ I would be grateful for help with this.
  12. Could you please install these external tool packages for django? Following are the details: packages to install: django-nested-admin, django-bootstrap-modal-forms username: amalgd main domain: mainstay.heliohost.org server: johnny python 3.6 django 2.1.13 Thanks for the free service, hosting python projects. I appreciate your support.
  13. Hello well i have an error 500 thrown by the server after changing connection to mysql with django, it works all fine with sqlite3 but not with mysql i did enable all connections from remote connection, i even tested to connect from my local computer and it worked could it that the python modules aren't installed ? because it was all working before
  14. Hello, I've already followed the instructions here: https://www.helionet.org/index/topic/30004-django-project-not-working/ (and am able to see the file in cPanel) I've followed this tutorial: https://wiki.helionet.org/Django ... and also this tutorial: https://wiki.helionet.org/Solving_Internal_Server_Errors This is my directory structure: home1/└── izmtky/ └── public_html/ └── auth/ ├── db.sqlite3 ├── manage.py └── auth/ ├── .htaccess ├── dispatch.wsgi ├── __init__.py ├── settings.py ├── urls.py ├── wsgi.py └── dispatch.wsgi And yet, I am still having the same issue: 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. What else can I do? auth.zip
  15. Hi, there. It seems I have a misconfiguration on my FTP client and trying to guess the right parameters while accessing through ftp (one of those times I eventually did it) blocked the cpanel login. Could someone at administration unblock it, please? By the way, I'm also trying to figure out how do I have access to django (python). I can't figure it out on the cpanel. Tks++; Sorry for the incovenience. Plavra
  16. I have tried the tutorial on wiki.helionet.org/Django, it works well. But now I want to deploy two Django apps on two subdomains on heliohost. I created two subdomians (e.g. Hello1 and Hello2), and the sub-folders Hello1 and Hello2 were created under public_html. Then I upload the Django apps to these subfolders and did the similar configurations to the .htaccess, dispatch.wsgi, etc separately. but it didn't work. Is there any tutorial for this kind of situation? Thanks!
  17. Hi! I am using django for my website on Tommy and I am having troubles with this Internal Server Error. I already had this kind of problems in the past but this time I am struggling to find a solution. It seems to be something with the dispatch.wsgi file. This are the errors that appear in the c-panel: [Sun Feb 17 21:50:30.387082 2019] [core:info] [pid 29170:tid 140379588355840] [client] AH00128: File does not exist: /home1/formigol/public_html/500.shtml, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.386425 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client] File "/home1/formigol/public_html/colswe2/dispatch.wsgi", line 21, in <module>, referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384893 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client] mod_wsgi (pid=29170): Exception occurred processing WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.384637 2019] [wsgi:error] [pid 29170:tid 140379588355840] [client] mod_wsgi (pid=29170): Target WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi' cannot be loaded as Python module., referer: http://www.colouredsweat.heliohost.org/ [Sun Feb 17 21:50:30.374405 2019] [wsgi:info] [pid 29170:tid 140379588355840] [client] mod_wsgi (pid=29170, process='', application='colouredsweat.heliohost.org|/colswe2/dispatch.wsgi'): Loading WSGI script '/home1/formigol/public_html/colswe2/dispatch.wsgi'., referer: http://www.colouredsweat.heliohost.org/ Thanks in advance for your help!
  18. Hey, I was wondering if there is a python shell. I was also wondering if you could install django version 1.9 onto the Tommy server please, thanks!
  19. Hello! I'm newly registered on the HelioHost, so please take it into account) :-) During registration, I've selected such features as python and django, but i can't find them in cPanel. How can I find these, if they exist , or install them? Full noob, pavelk
  20. When i request http://arnews.heliohost.org/ArNews/ Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@arnews.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. ArNews Tree : ---/home/arnews/public_html/ArNews ----------/ArNews ---------------------/__init__.py ---------------------/dispatch.wsgi ---------------------/settings.py ---------------------/urls.py ----------/ArNewsBot ---------------------/migrations ---------------------/urls.py ---------------------/etc. ----------/media ----------/manage.py ----------/.htaccess IN .htaccess :- RewriteEngine On RewriteBase /RewriteRule ^(media/.*)$ - [L]RewriteRule ^(admin_media/.*)$ - [L]RewriteRule ^(ArNews/dispatch\.wsgi/.*)$ - [L]RewriteRule ^(.*)$ ArNews/dispatch.wsgi/$1 [QSA,PT,L] in dispatch.wsgi :- import os ,sys from django.core.wsgi import get_wsgi_applicationsys.path.append("/home/arnews/public_html/ArNews"); os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ArNews.settings") application = get_wsgi_application() in settings.py :- DEBUG = True ALLOWED_HOSTS = ['*']
  21. Why django admin is not working on Tommy? Thanks in advance!
  22. When I open official django website its says. Ridiculously fast: but it is not the case on heliohost. Is there anything we can do?
  23. While trying python + Django, I kind of think that krydos might be using more than one folder level configurations. for example. http://krydos.heliohost.org/ ---> don't know which technology he is using. https://krydos.heliohost.org/djangotest/ ---> Django https://krydos.heliohost.org/cgi-bin/modules36.py ---> cgi (I don't know what is that and how to do) so I tried from the tutorial in django wik (and edited it) and come to know that I can configure more than one django projects on heliohost. I it ok to do that for normal user? I have no plans to have thousands but one for root level and couple inside.
  24. I am trying to work with postgress on tommy with django. here is django settings.py import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = 'secret' DEBUG = True ALLOWED_HOSTS = ['*'] INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', ] MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] WSGI_APPLICATION = 'wsgi.application' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'patents_plrplus', 'USER': 'patents_plr', 'PASSWORD': '', 'HOST': 'localhost', 'PORT': '3306', } } AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True STATIC_URL = '/static/'
  25. Hi! Please install Pillow on Tommy. Cannot view my website since the python upgrade. Been getting a 500 Internal Server Error. Also, please install: django-cleanup django-countries django-ipware Thanks!
  • Create New...