Also there's a file called .bashrc which activates the virtualenv.
This is the line that does that:
    source /home/userName/.env/env/bin/activate
So it runs (the virtualenv) always.

Probably I'm still having problem because of the database file, ... but I
don't know that else to do! Where to put it!
Because I tried to do the SAME as I do Django but locally, which is, to
just name the name of the database file in the NAME option of the DATABASE
dictionary inside the settings file and it gets created when syncdb is run,
it gets created inside the django project I create with startproject.
So inside of /myDjangoProject/ (parent) which contains manage.py and the
folder myDjangoProject (child), where the settings.py is, then inside the
parent folder /myDjangoProject/ (parent) the database file named inside the
NAME of DATABASES dictionary it DOES gets created, and it works perfectly,
but when LOCAL.

Here on this Shared Hosting Server it doesn't work just like that.
I'm just struggling with that.

I did everything the tutorial on
https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/140 tells
me to do, and yes I do get the Welcome Page from Django, ... but besides
that, when I try to create even an app, it gives me an error.  The
Unhandled one even in Debug = True.

I can give more information so this issue can be better resolved.


On Mon, Mar 3, 2014 at 8:45 PM, Omar Acevedo <oma...@gmail.com> wrote:

> No, the server itself it's not running in a virtualenv.
> Yes, it is a shared hosting service which it's both domain and account.
> And about the server, ... well, (idk), I'm using FastCGI, also, I followed
> this tutorial first ->
> https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/140 ,
> then days later they posted this link (
> https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/305/0/installing-django-using-virtualenv)
>  about using the virtualenv, so, it's like that.
>
> Anyways, I noticed that inside the settings.py file, when I put a absolute
> path in the NAME of the DATABASE, then it kinda worked.
> "Kinda worked" in a sense that it actually let me go to the admin with no
> problem, ... BUT, ... when I create an application with the startapp
> command, and then create a model and then add it to the admin so I can see
> the model inside the admin, THEN it shows this error message -> "Unhandled
> Exception An unhandled exception was thrown by the application."
>
> And yes, I do run the syncbd so the tables get created, but still nothing.
> :(
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH_X0gNCwZp8GJCvX3ip6PpegS1bvduD4e-%3DkfwHSq9rQCDNmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to