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,
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
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,
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
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
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,
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
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
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
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
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
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 ...
>
>
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
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
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
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
16 matches
Mail list logo