#32734: django-admin startapp with trailing slash in directory name results in
error
---------------------------+------------------------------------
Reporter: jooadam | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: 3.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
---------------------------+------------------------------------
Comment (by Rohith P R):
> I didn't look into exactly why but it works for startproject
This is the relevant piece of code- should this same check be performed
for start project as well?
{{{
if app_or_project == 'app':
self.validate_name(os.path.basename(target), 'directory')
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32734#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.ea51cbfd5535d64a3ae4cc410415ef6c%40djangoproject.com.