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 <jtaylor110200@gmail.com>:
I'm sorry, I don't understand what you're trying to say.--On Thu, Mar 7, 2019, 12:23 AM Gil Obradors <gil.obradors@gmail.com wrote:For create it yourself from 0--El dj., 7 de març 2019, 01:05, lujate <jtaylor110200@gmail.com> 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 <ambesh1969@gmail.com 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, <jtaylor110200@gmail.com> 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 <mario.bytes92@gmail.com wrote:Did you run the django-admin startproject your_project_name command?--On Fri, Mar 1, 2019, 6:13 PM lujate <justay@swbell.net> 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 django-users+unsubscribe@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/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 django-users+unsubscribe@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/CAOXNLNvP-vePzZj1zEeN-kVRiBPwEk_A6x64aJ0Y312uaegE3w%40mail.gmail.com.
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 django-users+unsubscribe@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/CAA4ZjbSQQP-X6jmaYxGNCjtoSzWTG-ZdwXohYwJv-yo6-2Gwqw%40mail.gmail.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 django-users+unsubscribe@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/CA%2BM-f1c2ycqtZ4i%3DPBs6nS6n9MP6FV959XdmmtGBOb3Sn%3DO5yg%40mail.gmail.com.
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 django-users+unsubscribe@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/CAA4ZjbTf09OgSNSGHSzuRTN9BfWyOideVYazwSc%3DphN%2BvehHAA%40mail.gmail.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 django-users+unsubscribe@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/CAK-JoTRtCb7UGaXO-x21JuBm0D%2BhJcpszhjShbq839jOctsh_w%40mail.gmail.com.
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 django-users+unsubscribe@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/CAA4ZjbSYc2tZALAUj_j7R58%2Bocf1_NPf46tV-xuNOh054ekciQ%40mail.gmail.com.
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 django-users+unsubscribe@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/CAK4qSCfYj8nVmzTRzk6AGpzHjna8L5wK4RZaSBs2p%2B6UbUskDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment