mavenium / pyeditorial Goto Github PK
View Code? Open in Web Editor NEWA free, open-source Blog CMS based on the "Django" and "Editorial" HTML5 theme.
License: GNU General Public License v3.0
A free, open-source Blog CMS based on the "Django" and "Editorial" HTML5 theme.
License: GNU General Public License v3.0
I could not run the project.
After executing the required commands, I get the following error when executing:
no such table: content_blog
What is the use of the Icon name column in skills section. How to use that column so that it will show proper icon as shown in the screenshots provided by you..
It maybe an issue caused by me cause I'm not experienced. I followed the instrutions on readme file accordingly (also migrated througly). When I ran the site it gave me " In template /home/melvinger/Desktop/editorial /PyEditorial-master/templates/base.html, error at line 0" in the debug with "no such table: content_blog". This error occured in admin page too when i tried to access admin/content/blog/ with "no such table: content_blogcategory) ". Tried to figure out the issue but cant. I know its an old project still if you return i will be glad.
Hi, guys!
When setting up the project, I realized that the app's migrations are not being committed, and we're actually instructing running
python manage.py makemigrations
during setup.
Although it may seem irrelevant now to keep migrations in version control, after deploying a production database (or after multiple developers build their long lived databases), saving migrations will allow us to apply changes to our database without having to tear it down.
Was there a specific reason for .gitignoring migrations?
The project can't be built because "asgiref" and "django" versions are conflicting.
asgiref==3.3.1
django 3.2.24 depends on asgiref<4 and >=3.3.2
In CRMs there are a lot of datastore and being fast is so important, I thought it would be great if we try to add PostgreSQL as a Database to the project and add a Setting to manage and switch between Database as:
# in setting.py
# -- Snip
Postgres = True
if Postgres:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': ‘<db_name>’,
'USER': '<db_username>',
'PASSWORD': '<password>',
'HOST': '<db_hostname_or_ip>',
'PORT': '<db_port>',
}
}
else:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
Also, we can add Postgres to Docker PR #20
Let me know your opinion and if I can work on it.
OperationalError at /blog/
no such table: content_blog
the following error i am facing
Getting this error while running the project via docker:
pyeditorial-web-1 | Traceback (most recent call last):
pyeditorial-web-1 | File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
pyeditorial-web-1 | return self.cursor.execute(sql, params)
pyeditorial-web-1 | File "/usr/local/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py", line 413, in execute
pyeditorial-web-1 | return Database.Cursor.execute(self, query, params)
pyeditorial-web-1 | sqlite3.OperationalError: no such table: content_blog
Although i fixed this issue as part of this PR. Just creating this issue for reference purposes.
When I tried to install using the readme instructions. This error message appeared. When I saw the sqlite file this table is missing.
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.