Comments (11)
Can be possibly added through NewsBlogConfigForm
from aldryn-newsblog.
@yakky, @tom I've completely forgot to consider doing this through NewsBlogConfigForm
in #77 Can we use the simple setting approach now and look into the per instance configuration in some next iteration?
from aldryn-newsblog.
Sure, it makes perfectly sense
from aldryn-newsblog.
Sure, makes sense.
from aldryn-newsblog.
@mikek This issue is meant to completely remove the "author" field in the admin, actually
Similar to #65
from aldryn-newsblog.
Sorry, I just have noticed this is another issue. Reopening.
from aldryn-newsblog.
What's the consensus on this? Can I suggest we make this setting a boolean on the NewsBlogConfig rather than creating new settings entries. This would also allow a Blog instance of this app to use an author field, whilst allowing a News instance to ignore it in the same project.
from aldryn-newsblog.
+1 on making this a setting of NewsBlogConfig. This kind of thing is one of the main reasons it exists. News entries might not need authors. Blog entries usually do. In any case, author should not be a mandatory field.
And it should be auto-populated with the following priorities:
- the current user already has a Person associated: use it
- the current user has a first_name and last_name: auto create a Person and associate it.
- set author to None.
Templates should handle missing authors gracefully.
If NewsBlogConfig says there should be no authors:
- hide the author field in admin
@intellectronica @FinalAngel @yakky what do you think?
from aldryn-newsblog.
Yes to all except for auto-creating a Person. IMO that's overreaching.
from aldryn-newsblog.
from aldryn-newsblog.
from aldryn-newsblog.
Related Issues (20)
- Blog post list by author page title
- Create button on toolbar does not contain "Article" option HOT 2
- Missing breadcrumb for newly created post
- Bootstrap 4 boilerplate templates HOT 4
- django taggit dropped support for django <1.11 which is causing installation issues HOT 2
- Search data won`t be updated for specific plugins without context
- Adding NewsBlog apphook to page breaks login: 405 error HOT 2
- Is this repo maintained? HOT 6
- djangocms-link 2.2.1 breaks NewsBlog HOT 2
- Update translation files from Transifex HOT 1
- System check reported issues HOT 1
- Ignore me...
- 'NoneType' object has no attribute 'get_config' for page with added Newsblog menu
- FieldError: Invalid field name(s) for model Person: 'name'. HOT 1
- Author field for Add Article form uses integer values instead of friendly usernames
- 'CMSToolbar' object has no attribute 'edit_mode' HOT 5
- Untranslated articles shouldn’t show on Latest Articles plugin when hide_untranslated is set
- How to override aldryn-newsblog plugin's models.py and admin.py
- Exclude atricles from Navigation menu
- Latest master release? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aldryn-newsblog.