Hi,
It's definitely weird to not have a manage.py since all new Django
projects should have it by default. But the manage.py file is pretty
simple, and you can just paste this inside a new manage.py:
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Hope that helps.
Regards,
Jibran
On Wednesday, August 24, 2016 at 11:25:52 AM UTC+4, Lekan Wahab wrote:
>
> Good morning,
> I was recently given a django project to manage at work.
> However, i noticed the project has neither a django-admin.py or a
> manage.py file.
> Is that normal?
> If it is, how do i run the project on my local machine for testing
> purposes?
>
> The file structure is something like this:
> Project Name
> app1
> app2
> app3
> app4
> app5
> models.py
> forms.py
> __init__.py
> urls.py
> views.py
> admin.py
>
>
> Each app contains the following:
> models.py
> forms.py
> __init__.py
> urls.py
> views.py
> admin.py
>
--
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/8d13403f-1f45-43b5-959a-af082e670d22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.