3

I think most people would not want someone to post their entire Django project into a question, but there's really no way to post an isolated piece of a Django project that someone else can copy into their IDE and run. Django only works if you have all the proper files in order.

Should you just post whatever code is necessary to understand the problem?

4
  • They seem to get the hang of it
    – Alon Eitan
    Jun 17, 2017 at 17:11
  • I haven't used Django but while you might have to list what files/libraries you've included, you don't have to have the actual files in the question. Basic stuff that any Django project would require to be runnable doesn't need to be included either. For example, in many cases an HTML question won't need to include the head in its MVCE.
    – BSMP
    Jun 18, 2017 at 1:22
  • 1
    I don't know diddly about Django, but you might be interested in the answers to this question. Jun 18, 2017 at 11:29
  • I would copy the error. The minimum amount of the block, and the minimum amount of model if required or used. You can decern what is needed to find a solution if it's not enough the community should let you know. For those that are not familiar with MCVE. meta.stackoverflow.com/questions/366988/what-does-mcve-mean. Jan 18, 2019 at 2:23

0

You must log in to answer this question.

Browse other questions tagged .