shaunsephton / django-snippetscream Goto Github PK
View Code? Open in Web Editor NEWDjango app packaging the best snippets found on http://djangosnippets.org
License: Other
Django app packaging the best snippets found on http://djangosnippets.org
License: Other
I have integrated this project into some test project getting this error in the file snippetscream/_1875.py
.
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/local/lib/python2.7/site-packages/snippetscream/__init__.py", line 5, in <module>
import _1875
File "/local/lib/python2.7/site-packages/snippetscream/_1875.py", line 6, in <module>
from django.contrib.auth.management import create_superuser
from django.contrib.auth.management import create_superuser
ImportError: cannot import name `create_superuser```
Expected to Change:
```
try:
from django.contrib.auth.management import create_superuser
except ImportError:
from django.contrib.auth.models import UserManager
create_superuser = UserManager.create_superuser
```
Traceback (most recent call last):
File "/opt/virtenvs/django_slice/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 201, in get_response
response = middleware_method(request, response)
File "/opt/virtenvs/django_slice/local/lib/python2.7/site-packages/snippetscream/_186.py", line 57, in process_response
response.content = "<pre>" + stats_str + "</pre>"
AttributeError: can't set attribute
Hi,
This repository seems to lack maintenance, I propose myself as a new maintainer.
Could you give me the right to push in your repository or just transfer it on my account in github?
Thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.