Comments (8)
I can't reproduce this with Django 1.4.2, using 'somepath' works fine for me. Can you include the relevant bits of the admin.py
?
from django-adminplus.
I'm using Django 1.4
(not 1.4.2
). Here's my admin.py
: note than neither test/
nor /test/
paths work, it has to be myapp/test/
from django.contrib import admin
admin.site.register_view('myapp/test/', my_view, name="My View", visible=True)
from django-adminplus.
I tried exactly this and couldn't reproduce the issue. I'm sorry. If
you figure it out I'm happy to look at a patch.
On Tuesday, November 06, 2012 12:44:56, saidimu apale wrote:
I'm using Django |1.4| (not |1.4.2|). Here's my |admin.py|: note than
neither |test/| nor |/test/| paths work, it has to be |myapp/test/||from django.contrib import admin
admin.site.register_view('myapp/test/', my_view, name="My View", visible=True)
|—
Reply to this email directly or view it on GitHub
#6 (comment).
James Socol
Community Platforms Manager - Mozilla
[email protected]
from django-adminplus.
I have same problem, I have to put app name in path and then is working
from django-adminplus.
I still can't reproduce this issue on Django 1.4.2. Like I said, if anyone can come up with a patch I'm more than happy to dig into it, but I just can't find it.
from django-adminplus.
I've never been able to reproduce this. If someone who can is willing to create a failing test and/or a patch, I'd love to look into that and get it fixed, but until then I'm going to close this one.
from django-adminplus.
I was experiencing this issue with my project (Django 1.5.1 / adminplus 0.2.0). I'd get the issue with my development env that uses apache/mod_wsgi, but was not getting the problem with ./manage.py runserver. After playing around, switching between the two, it started working with apache/mod_wsgi too, with no changes. So it could be something like stray *.pyc files?
from django-adminplus.
@brew Like I said above, I've never been able to reproduce this on 1.4 or 1.5. I'm happy to dig into a patch if anyone who can reproduce it can figure it out.
mod_wsgi doesn't create or, as far as I know, use any bytecode files, so I doubt stray .pycs are changing its behavior anywhere.
from django-adminplus.
Related Issues (20)
- Upgrade the link TD to TH HOT 1
- Template different to main site HOT 5
- Completely broken on Django 1.9.5 HOT 6
- Authentication and Authorization disappears in Django 1.9.6 HOT 1
- Pass view objects to template
- How to change "Custom Views" title text in admin section. HOT 5
- Now have to set admin.sites.site HOT 4
- Hide parameterized URLs
- How to hide the custom view from admin main page HOT 1
- Models not resolving on Django 2.0
- No module named "SimpleAdminConfigdjango" HOT 1
- Django 2.x support HOT 5
- Django 4 support HOT 9
- [catchup] Double check CI and branch protection config HOT 1
- [catchup] Drop Python 2 support HOT 1
- [catchup] Test against modern Django HOT 1
- Automate releases HOT 1
- Rename the module to django_adminplus
- Autodiscover from readme doesn't work correctly
- Moving to adminplus locks out superuser from editing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-adminplus.