Re: Error when creating a django app in a specified folder with the same name as the app

2017-12-19 Thread Jason
It appears normal

https://code.djangoproject.com/ticket/18564#comment:3

specifically

Django _already_ prevents you from creating a project with a package name 
> that conflicts with some other package on sys.path; this is the most we can 
> reasonably do. 
>



-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/26b7d344-514e-422b-a54a-ab983f2d78e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error when creating a django app in a specified folder with the same name as the app

2017-12-19 Thread Nick Gilmour
Hi all,

when I try to create a django app in a specified folder with the same name
as the app I get the following error:

*CommandError: 'my_app' conflicts with the name of an existing Python
module and cannot be used as an app name. Please try another name.*

These are the commands I'm using:
$ mkdir backend/apps/my_app
$ python manage startapp my_app ./backend/apps/my_app

Is this normal? Any ideas why is this happening?

Regards,

Nick

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH-droyoLU7XABHSrvU40eCiNSk2rzt25wGZWRjYurSKOtweww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.