Code Monkey home page Code Monkey logo

django-responsive2's People

Contributors

bashu avatar cptlemming avatar mishbahr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

django-responsive2's Issues

<head attr="value"> fails

For example:

Fails because regex searching for tag, with confidence that there will be no additional attributes.

Django project turn in loop

Hi,

I have a already project who work perfectly. Now I want use your application to make my project a responsive website. I installed it with sudo right (necessary). I changed my settings.py like you can see here
But when I restart my project the application turn in loop. I can't load my home page, here my django console

Like you can see there are a RemovedInDjango110Warning in the console so I delete the 'django.core.context_processors.request', because 'django.template.context_processors.request', is already by default in context_processors from settings.py but it change nothing.

My project is on c9.io with python3.4 and django1.9

Yohan

No updates since almost three years?

No updates since almost three years?

Please tell us the state of the project. Which way would you advice a new comer, if he/she would start from scratch today?

TypeError: object() takes no parameters

When I try to run the server I get following error:

File "C:\Users\Mauritszzzz\Anaconda3\lib\site-packages\django\core\handlers\wsgi.py", line 153, in init
self.load_middleware()
File "C:\Users\Mauritszzzz\Anaconda3\lib\site-packages\django\core\handlers\base.py", line 82, in load_middleware
mw_instance = middleware(handler)
TypeError: object() takes no parameters

Any idea how this can be resolved?

ImportError

How do I Resolve this problem? ImportError: Module "responsive.middleware" does not define a "ResponsiveMiddleware" attribute/class

Would be convenient to match default media queries to Bootstrap rather than Zurb

Great repo, thanks for building!

I was looking to implement this and saw the reference to if device.is_xsmall in the README that corresponds to Bootstrap's terminology. It would be convenient to simply adjust the default MEDIA_QUERIES settings to match bootstrap rather than Zurb foundation as currently implemented.

Happy to make a PR if you agree and would find it helpful!

Page loaded within iframe is always returning 'device.is_xsmall' as true [ width =0 height= 0], even though screen width is more than 1400px.

Page loaded within iframe is always returning 'device.is_xsmall' as true [ width =0 height= 0], even though screen width is more than 1400px.

RESPONSIVE_MEDIA_QUERIES = {
'small': {
'verbose_name': _('Small screens'),
'min_width': None,
'max_width': 640,
},
'medium': {
'verbose_name': _('Medium screens'),
'min_width': 641,
'max_width': 1024,
},
'large': {
'verbose_name': _('Large screens'),
'min_width': 1025,
'max_width': 1440,
},
'xlarge': {
'verbose_name': _('XLarge screens'),
'min_width': 1441,
'max_width': 1920,
},
'xxlarge': {
'verbose_name': _('XXLarge screens'),
'min_width': 1921,
'max_width': None,
}
}

Django 3.0 compatibility?

I usually don't ask a lazy question like this, I usually try it first and see if it works for myself, but since this project appears a bit outdated, does it still work with the latest versions of Django (3.0, 3.1 currently) ?

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.