Re: Problem Making New Django project - please help

2014-12-06 Thread Collin Anderson
Hi,

Is your DJANGO_SETTINGS_MODULE set in your environment? You may need to 
clear that out before running django-admin.py

Something like one of these:

unset DJANGO_SETTINGS_MODULE
DJANGO_SETTINGS_MODULE= django-admin.py startproject
env -u DJANGO_SETTINGS_MODULE django-admin.py startproject

Collin


On Friday, December 5, 2014 1:56:34 AM UTC-5, Shashwat singh wrote:
>
> No , it used to work perfectly on osx mavericks, then i did some stuff 
> with opencv and since then i'm getting that error. I've tried each n every 
> solution available on internet but nothing seems to solve that problem :/
>

-- 
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/88684107-aa88-4ab1-ab32-58416cb05f7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-04 Thread Shashwat singh
No , it used to work perfectly on osx mavericks, then i did some stuff with 
opencv and since then i'm getting that error. I've tried each n every 
solution available on internet but nothing seems to solve that problem :/

-- 
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/c6734818-4362-4ac2-aa19-9f7fd5940030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-04 Thread Shashwat singh
Django version -- 1, 7, 1

And yes doing this from my home directory.


-- 
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/b3ec99f6-fcfe-4fc2-b9c5-894c38aed415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-04 Thread jogaserbia
Are you trying to set it up in a virtualenv?  

On Wednesday, December 3, 2014 10:36:34 AM UTC-5, Shashwat singh wrote:
>
> Django is properly installed but when i try to create a new project --- " 
> django-admin.py startproject abc " it returns ^^ that error. 
> Any help will be highly appreciated.
>

-- 
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/67e4f1e0-0e9c-4745-895f-43ee38af4204%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-04 Thread Florian Schweikert
On 03/12/14 16:36, Shashwat singh wrote:
> Django is properly installed but when i try to create a new project ---
> " django-admin.py startproject abc " it returns ^^ that error. 
> Any help will be highly appreciated.

starting new project with name abc throws the my_project.settings not
found? Then there is something wrong with the env_variables of your shell.

-- Florian

-- 
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/548085D4.7000504%40ist-total.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Problem Making New Django project - please help

2014-12-04 Thread Collin Anderson
Hi,

That is quite odd. Do you have the DJANGO_SETTINGS_MODULE set in your shell 
environment? (you shouldn't).

What version of Django are you using?

Are you doing this from your home directory?

Collin

On Wednesday, December 3, 2014 10:44:20 AM UTC-5, Shashwat singh wrote:
>
> Django is properly installed but when i try to create a new project --- " 
>> django-admin.py startproject abc " it returns ^^ that error. 
>
> I've tried almost everything, but nothing seems to fix that.
>
> Any help will be highly appreciated.
>>
>

-- 
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/53792f41-ba5d-416d-b5fe-b241d5141893%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-03 Thread Shashwat singh

>
> Django is properly installed but when i try to create a new project --- " 
> django-admin.py startproject abc " it returns ^^ that error. 

I've tried almost everything, but nothing seems to fix that.

Any help will be highly appreciated.
>

-- 
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/b87e976b-7853-4ce7-80c8-1c0e7c8d0008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-03 Thread Shashwat singh
Django is properly installed but when i try to create a new project --- " 
django-admin.py startproject abc " it returns ^^ that error. 
Any help will be highly appreciated.

-- 
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/994e82ea-d71c-44fb-8601-4499c0f48e88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-02 Thread Florian Schweikert

On 2014-12-02 10:59, Shashwat singh wrote:

ImportError: Could not import settings 'my_project.settings' (Is it on
sys.path? Is there an import error in the settings file?): No module
named my_project.settings

PLEASE HELP WITH THIS


there is not enough information to see the cause of the problem

what command did you run?
what was your cwd?
what does your project dir structure look like?

-- Florian

--
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/8cf64f5650e73b5ac2184d62e41d1405%40ist-total.org.
For more options, visit https://groups.google.com/d/optout.


Re: Problem Making New Django project - please help

2014-12-02 Thread Daniel Roseman
On Tuesday, 2 December 2014 09:59:30 UTC, Shashwat singh wrote:
>
> 
>
> PLEASE HELP WITH THIS 
>

Nobody can possibly help with this. This is a random error message. What 
were you doing when you got it? What did you type at the command line? What 
code do you have already?

And, please do not shout.
--
DR.

-- 
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/0d255ab1-99e3-4eb3-a03f-2aabf38c98d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problem Making New Django project - please help

2014-12-02 Thread Shashwat singh
 

Traceback (most recent call last):

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/bin/django-admin.py", 
line 5, in 

management.execute_from_command_line()

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 385, in execute_from_command_line

utility.execute()

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 345, in execute

settings.INSTALLED_APPS

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py",
 
line 46, in __getattr__

self._setup(name)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py",
 
line 42, in _setup

self._wrapped = Settings(settings_module)

  File 
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py",
 
line 98, in __init__

% (self.SETTINGS_MODULE, e)

ImportError: Could not import settings 'my_project.settings' (Is it on 
sys.path? Is there an import error in the settings file?): No module named 
my_project.settings



PLEASE HELP WITH THIS 

-- 
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/2341dfba-7c40-46b0-8a9f-7a03218e0054%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.