Giter Club home page Giter Club logo

Comments (8)

jsocol avatar jsocol commented on August 16, 2024

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.

saidimu avatar saidimu commented on August 16, 2024

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.

jsocol avatar jsocol commented on August 16, 2024

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.

ikresoft avatar ikresoft commented on August 16, 2024

I have same problem, I have to put app name in path and then is working

from django-adminplus.

jsocol avatar jsocol commented on August 16, 2024

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.

jsocol avatar jsocol commented on August 16, 2024

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.

brew avatar brew commented on August 16, 2024

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.

jsocol avatar jsocol commented on August 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.