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 a pip installed app, I can do that easily enough. Does it matter the name of the app I create? I'm afraid I'll have a conflict if I use the same name as the pip installed app. Thanks On Fri, Mar 8, 2019, 2:46 AM Andréas Kühne <[email protected]> wrote: > 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 called cupcakes that has the templates, models and views for > cupcakes. > > Regards, > > Andréas > > > Den fre 8 mars 2019 kl 03:13 skrev lujate <[email protected]>: > >> I'm sorry, I don't understand what you're trying to say. >> >> On Thu, Mar 7, 2019, 12:23 AM Gil Obradors <[email protected] wrote: >> >>> For create it yourself from 0 >>> >>> El dj., 7 de març 2019, 01:05, lujate <[email protected]> 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 <[email protected] >>>> wrote: >>>> >>>>> 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, <[email protected]> wrote: >>>>> >>>>>> I created a scratch project for R&D. >>>>>> 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 app was there. >>>>>> >>>>>> I added multiple apps, and there's only an error on one. I don't know >>>>>> if that's because the others are fine, or it just stopped at the first >>>>>> error. >>>>>> >>>>>> Thanks >>>>>> >>>>>> On Mon, Mar 4, 2019, 6:59 PM Mario Martinez <[email protected] >>>>>> wrote: >>>>>> >>>>>>> Did you run the django-admin startproject your_project_name command? >>>>>>> >>>>>>> On Fri, Mar 1, 2019, 6:13 PM lujate <[email protected]> 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 way of doing a Django project that >>>>>>>> I’m >>>>>>>> not aware of? >>>>>>>> >>>>>>>> FWIW, the project is django-wiki. >>>>>>>> >>>>>>>> TIA >>>>>>>> >>>>>>>> -- >>>>>>>> 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 [email protected]. >>>>>>>> To post to this group, send email to [email protected]. >>>>>>>> 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/30fc5fdc-6bd6-4807-99ff-c41e6e109642%40googlegroups.com >>>>>>>> . >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to a topic in >>>>>>> the Google Groups "Django users" group. >>>>>>> To unsubscribe from this topic, visit >>>>>>> https://groups.google.com/d/topic/django-users/UNcOwcHuox8/unsubscribe >>>>>>> . >>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>> [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> 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/CAOXNLNvP-vePzZj1zEeN-kVRiBPwEk_A6x64aJ0Y312uaegE3w%40mail.gmail.com >>>>>>> <https://groups.google.com/d/msgid/django-users/CAOXNLNvP-vePzZj1zEeN-kVRiBPwEk_A6x64aJ0Y312uaegE3w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> -- >>>>>> 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 [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> 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/CAA4ZjbSQQP-X6jmaYxGNCjtoSzWTG-ZdwXohYwJv-yo6-2Gwqw%40mail.gmail.com >>>>>> <https://groups.google.com/d/msgid/django-users/CAA4ZjbSQQP-X6jmaYxGNCjtoSzWTG-ZdwXohYwJv-yo6-2Gwqw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "Django users" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/django-users/UNcOwcHuox8/unsubscribe >>>>> . >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> To post to this group, send email to [email protected]. >>>>> 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/CA%2BM-f1c2ycqtZ4i%3DPBs6nS6n9MP6FV959XdmmtGBOb3Sn%3DO5yg%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/django-users/CA%2BM-f1c2ycqtZ4i%3DPBs6nS6n9MP6FV959XdmmtGBOb3Sn%3DO5yg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> 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 [email protected]. >>>> To post to this group, send email to [email protected]. >>>> 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/CAA4ZjbTf09OgSNSGHSzuRTN9BfWyOideVYazwSc%3DphN%2BvehHAA%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/django-users/CAA4ZjbTf09OgSNSGHSzuRTN9BfWyOideVYazwSc%3DphN%2BvehHAA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Django users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/django-users/UNcOwcHuox8/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To post to this group, send email to [email protected]. >>> 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/CAK-JoTRtCb7UGaXO-x21JuBm0D%2BhJcpszhjShbq839jOctsh_w%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAK-JoTRtCb7UGaXO-x21JuBm0D%2BhJcpszhjShbq839jOctsh_w%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> 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/CAA4ZjbSYc2tZALAUj_j7R58%2Bocf1_NPf46tV-xuNOh054ekciQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAA4ZjbSYc2tZALAUj_j7R58%2Bocf1_NPf46tV-xuNOh054ekciQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/UNcOwcHuox8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > 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/CAK4qSCfYj8nVmzTRzk6AGpzHjna8L5wK4RZaSBs2p%2B6UbUskDA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAK4qSCfYj8nVmzTRzk6AGpzHjna8L5wK4RZaSBs2p%2B6UbUskDA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAA4ZjbR%2BF%3Dgwoz%3Dk5VkK6afyZUH2_1LV8rSoqa4VDcv6FkiSiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

