Hmm, try opening up a python interpreter and importing
"portal.settings".  Does that work?
If not there are two likely candidates:
1. It isn't enough for 'portal' to have an __init__.py file, it needs
to be on your pythonpath. Check your pythonpath (import sys;print
sys.path)
2. There is a syntax error in your settings file. To check for this
you could just run "python /path/to/your/settings.py" from the shell.
See if that exits with errors.

Happy Djangoing!
Alex

On Mar 16, 8:47 am, Joshua Partogi <[email protected]> wrote:
> Dear all,
>
> I have a custom setting which I would like to run with django-admin as such:
>
> django-admin.py runserver --settings=portal.settings
>
> The name of my project is 'portal' and in my project directory there's
> already __init__.py so I assume that python will already recognize
> this as a python module.
>
> But instead I receive this error:
> Error: Could not import settings 'portal.settings' (Is it on sys.path?
> Does it have syntax errors?): No module named portal.settings
>
> Have I missed on something here that needs to be configured?
>
> Thank you very much in advance
>
> --
> If you can't believe in God the chances are your God is too small.
>
> Read my blog:http://joshuajava.wordpress.com/
> Follow me on twitter:http://twitter.com/jpartogi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to