Re: Missing manage.py & settings.py

2019-03-09 Thread Andréas Kühne
If you have added an app via pip install and added it to settings.py, you should not create an app with startapp - and you should definitely not create an app with the same name as a pip installed django app. That will result in conflicts. In this case startapp shouldn't be used no. Regards,

Re: Missing manage.py & settings.py

2019-03-08 Thread Sithembewena L. Dube
Understand the difference between a project and an app. See "Projects vs. apps" at the following link (correct for current version). https://docs.djangoproject.com/en/2.1/intro/tutorial01/ Kind regards, Sithembewena *Sent with Shift

Re: Missing manage.py & settings.py

2019-03-08 Thread gauravsrivastava2k17
after installing django inside virtual environment write following commands: django-admin startproject "you_project_name" go inside this folder and then type python manage.py startapp "your app name" this command will create apps and after this include your app inside installed apps On Saturday,

Re: Missing manage.py & settings.py

2019-03-08 Thread lujate
I know what startapp is for. I'm just wondering why it's applicable here. To recap, I have a 3rd party Django app that I need to pip install. I created a project to contain the app. When I add the app to installed apps in my settings, Django errors on start up. If startapp is still required for

Re: Missing manage.py & settings.py

2019-03-08 Thread Andréas Kühne
The reason you have startapp in django-admin is because you might want to start a new part of your project from scratch. For example if you are selling ice-cream online and have models for ice-creams in the ice_cream app and you want to start selling cupcakes as well, you can then start a new app

Re: Missing manage.py & settings.py

2019-03-07 Thread lujate
I'm sorry, I don't understand what you're trying to say. On Thu, Mar 7, 2019, 12:23 AM Gil Obradors For create it yourself from 0 > > El dj., 7 de març 2019, 01:05, lujate va > escriure: > >> What purpose does startapp serve when you're only using a pip installed >> app? >> >> >> >> On Wed,

Re: Missing manage.py & settings.py

2019-03-06 Thread Gil Obradors
For create it yourself from 0 El dj., 7 de març 2019, 01:05, lujate va escriure: > What purpose does startapp serve when you're only using a pip installed > app? > > > > On Wed, Mar 6, 2019, 11:12 AM ambesh chand shahi wrote: > >> You should first type django-admin startproject "your project

Re: Missing manage.py & settings.py

2019-03-06 Thread lujate
What purpose does startapp serve when you're only using a pip installed app? On Wed, Mar 6, 2019, 11:12 AM ambesh chand shahi You should first type django-admin startproject "your project name". > > Then if you are using python3 then type python3 manage.py startapp > "appname". > > After that

Re: Missing manage.py & settings.py

2019-03-06 Thread ambesh chand shahi
You should first type django-admin startproject "your project name". Then if you are using python3 then type python3 manage.py startapp "appname". After that include that app in settings.py in Installed apps. On Tue, 5 Mar 2019, 07:29 lujate, wrote: > I created a scratch project for R > I

Re: Missing manage.py & settings.py

2019-03-04 Thread lujate
I created a scratch project for R I did a runserver and confirmed the default landing page. I added the apps to the settings file per the docs. I ran a migrate per the docs and got an error on one of the apps. I tried a runserver and got the same error. I dug into site-packages and confirmed the

Re: Missing manage.py & settings.py

2019-03-04 Thread Mario Martinez
Did you run the django-admin startproject your_project_name command? On Fri, Mar 1, 2019, 6:13 PM lujate wrote: > I pip installed a Django project, but it doesn’t have a manage.py or > settings.py. I checked the repo on GitHub, and those files don’t exist > there either. Is this an alternate

Re: Missing manage.py & settings.py

2019-03-04 Thread lujate
I'm still pretty new with Django. I've used a few 3rd party utilities but no apps. I have it installed, and I'm working on am error in my INSTALLED_APPS now. Thanks On Mon, Mar 4, 2019, 1:13 AM Derek Pretty much *all* the apps you use in your Django project will be > installed via pip ... > >

Re: Missing manage.py & settings.py

2019-03-03 Thread Derek
Pretty much *all* the apps you use in your Django project will be installed via pip ... On Saturday, 2 March 2019 06:00:47 UTC+2, lujate wrote: > > Interesting. I never thought about doing a pip install of an application. > I'm going to have to digest that one. > > Thanks > -- You received

Re: Missing manage.py & settings.py

2019-03-01 Thread lujate
Interesting. I never thought about doing a pip install of an application. I'm going to have to digest that one. Thanks -- 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

Re: Missing manage.py & settings.py

2019-03-01 Thread Dylan Reinhold
The project django-wiki is not a django project, it is a django app. You include the app in your project. The settings file in the install document is your settings file from your django project. Dylan On Fri, Mar 1, 2019 at 5:13 PM lujate wrote: > I pip installed a Django project, but it

Missing manage.py & settings.py

2019-03-01 Thread lujate
I pip installed a Django project, but it doesn’t have a manage.py or settings.py. I checked the repo on GitHub, and those files don’t exist there either. Is this an alternate way of doing a Django project that I’m not aware of? FWIW, the project is django-wiki. TIA -- You received this