The problem is that the first line in manage.py
breaks the file on windows.
The first line should look like this:
#!/usr/bin/env python
Removing it will fix the issue.
More Related Contents:
- How to override and extend basic Django admin templates?
- Django auto_now and auto_now_add
- Can “list_display” in a Django ModelAdmin display attributes of ForeignKey fields?
- Multiple ModelAdmins/views for same model in Django admin
- Custom Filter in Django Admin on Django 1.3 or below
- Default filter in Django admin
- Django Admin – change header ‘Django administration’ text
- many-to-many in list display django
- Django Admin nested inline
- Overriding the save method in Django ModelForm
- How to change ForeignKey display text in the Django Admin?
- How to display uploaded images in “Change List” page in Django Admin?
- Nested inlines in the Django admin?
- Django admin file upload with current model id
- DateTimeField doesn’t show in admin system
- one-to-many inline select with django admin
- Django Admin Page missing CSS
- Resize fields in Django Admin
- How can I set a default value for a field in a Django model?
- Django Admin: Using a custom widget for only one model field
- How to run cloned Django project?
- Permission to view, but not to change! – Django
- Django — Conditional Login Redirect
- Django Multiple Databases – relation does not exist; LINE 1: SELECT COUNT(*) AS “__count” FROM
- How to override css in Django Admin?
- How to change site title, site header and index title in Django Admin?
- Django admin: How to display the field marked as “editable=False” in the model?
- Add custom form fields that are not part of the model (Django)
- Django admin – inline inlines (or, three model editing at once)
- How to use custom AdminSite class?