williano / django-bona-blog Goto Github PK
View Code? Open in Web Editor NEWA Django blog app with features of a standard blogging platform.
Home Page: https://pypi.org/project/django-bona-blog/
License: MIT License
A Django blog app with features of a standard blogging platform.
Home Page: https://pypi.org/project/django-bona-blog/
License: MIT License
Fresh project using Dj 3.1.
File "/opt/dev/venv/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/opt/dev/venv/lib/python3.7/site-packages/django/db/backends/mysql/base.py", line 73, in execute
return self.cursor.execute(query, args)
File "/opt/dev/venv/lib/python3.7/site-packages/MySQLdb/cursors.py", line 206, in execute
res = self._query(query)
File "/opt/dev/venv/lib/python3.7/site-packages/MySQLdb/cursors.py", line 319, in _query
db.query(q)
File "/opt/dev/venv/lib/python3.7/site-packages/MySQLdb/connections.py", line 259, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.OperationalError: (1060, "Duplicate column name 'deleted'")
tinymce is required by one of the migrations but is not installed by default:
app_1 | File "/usr/local/lib/python3.8/site-packages/blog/migrations/0003_auto_20200618_2322.py", line 4, in <module>
app_1 | import tinymce.models
app_1 | ModuleNotFoundError: No module named 'tinymce'
i couldnot find settings.py and manage.py how we should
Hey. I'm having my first blog cus of you haha..
Idk this is a issue or i missed something but my dashboard completely missing style but everything is fine
What should I do?
Can you please confirm that all the static files are included properly in static folder
when I run python manage.py collectstatic I have this error
Traceback (most recent call last):
File "manage.py", line 22, in
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 187, in handle
collected = self.collect()
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 105, in collect
for path, storage in finder.list(self.ignore_patterns):
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/contrib/staticfiles/finders.py", line 130, in list
for path in utils.get_files(storage, ignore_patterns):
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/contrib/staticfiles/utils.py", line 23, in get_files
directories, files = storage.listdir(location)
File "/home/zestarlab/Django_projects/zestarlab/lib/python3.8/site-packages/django/core/files/storage.py", line 323, in listdir
for entry in os.scandir(path):
FileNotFoundError: [Errno 2] No such file or directory: '/home/zestarlab/Django_projects/zestarlab/zestarlab/blog/static'
after doing step 'f', I'm in a migrations error.
my error case is that
"/www/django-bona-blog/bona_env/lib/python3.9/site-packages/blog/migrations/0002_auto_20200618_2226.py", line 4, in
import tinymce.models"
I want to know that is a reason of python version or package issue.
And I think, this package is using 'CKEDITOR', and 'tinymce' is different web-editor solution.
I can't find any support informations about 'tinymce' in this readme.
When used in projects using django-allauth, the User relations in several places fai, and yield the following error:
django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:
ERRORS:
blog.Article.author: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.
blog.Profile.user: (fields.E301) Field defines a relation with the model 'auth.User', which has been swapped out.
HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'.
System check identified 2 issues (0 silenced).
Here's the recommended approach to referencing the User model from the Django documentation:
I'd really love to see this app in action. It looks amazing, and exactly what I'm looking for. But django-allauth isn't something I can let go of. It's an great collection of integrated user-related functionalities, and would be be an amazing addition to any project wanting to use your blog app. (Like mine. :D )
I keep running into ``
File "/home/mfalme/.virtualenvs/django-backend/lib/python3.7/site-packages/django/template/response.py", line 105, in render
self.content = self.rendered_content
File "/home/mfalme/.virtualenvs/django-backend/lib/python3.7/site-packages/django/template/response.py", line 81, in rendered_content
template = self.resolve_template(self.template_name)
File "/home/mfalme/.virtualenvs/django-backend/lib/python3.7/site-packages/django/template/response.py", line 63, in resolve_template
return select_template(template, using=self.using)
File "/home/mfalme/.virtualenvs/django-backend/lib/python3.7/site-packages/django/template/loader.py", line 47, in select_template
raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
django.template.exceptions.TemplateDoesNotExist: blog/article/home.html, blog/article_list.html
after following instructions here
Is there sth I might be missing?
Following the setup instrudtions I encontered the following error:
RuntimeError: Model class blog.models.category_models.Category doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
I believe the instruction to add blog.apps.BlogConfig
to INSTALLED_APPS
is wrong, and this should just be blog
instead.
When i try to setup this for testing, I'm getting this error.
As i know, six is depreciated in django3
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.