Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Általánosítottam az elérési útvonalat.

  • Loading branch information...
commit 92795037bf0dcc614270efbb198cdf7661c6d1b7 1 parent 6951ba8
György Nádudvari authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 jelentkezes/apache/django.wsgi
5 jelentkezes/apache/django.wsgi
View
@@ -1,8 +1,9 @@
import os
import sys
-paths = ['/home/reedcourty_l/jelentkezes.tnt',
- '/home/reedcourty_l/jelentkezes.tnt/jelentkezes',]
+PROJECT_PATH = os.path.dirname(os.path.abspath(__file__)).rsplit("/",2)[0]
+
+paths = [PROJECT_PATH, PROJECT_PATH + '/jelentkezes',]
for p in paths:
if p not in sys.path:
Please sign in to comment.
Something went wrong with that request. Please try again.