Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global name 'dir_name' is not defined #10

Open
aronchi opened this issue Sep 1, 2010 · 3 comments
Open

global name 'dir_name' is not defined #10

aronchi opened this issue Sep 1, 2010 · 3 comments

Comments

@aronchi
Copy link

aronchi commented Sep 1, 2010

When trying to delete an object, I get this namerror.
/filebrowser/views.py in delete, line 369

I checked the source, and there is a dir_name without declaration.

It was meant path?

@wardi
Copy link
Owner

wardi commented Sep 1, 2010

it looks like the problem also exists upstream. Please report it there and I will merge their fix.

@mattots
Copy link

mattots commented Jan 6, 2012

Has this ever been resolved? I've just run into this issue myself. If it's not been fixed upstream yet, can you recommend a way / hack to fix it here?

@wardi
Copy link
Owner

wardi commented Jan 6, 2012

good question, for whatever reason I haven't run into this problem. I also haven't had time to keep up with upstream, though, so you may want to use someone else's fork. At least upstream is on github now.

Iv pushed a commit to Iv/django-filebrowser-no-grappelli that referenced this issue Jan 16, 2015
Fix wardi#7 Use `model._meta.model_name` if available else fallback to `module_name`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants