|
I wonder why my first message to him, and his response to it, was deleted, but, my "vote of 1" message was not deleted.Nelek wrote: he looks more to be the kind of guy that don't really pay attention to what it is said and takes it a bit personal / emotional. Speaking as a formerly board-certified member of the American Academy for Group Psychotherapy and Psychodrama (I'm not kidding), I concur with your diagnosis, Dr. Nelek
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Trying to publish a new article I got this message
«Too many attributes. There is a limit of 8.»
But, what an attribute is?
What does this message expect me to do?
Can anyone, please explain to me how can I fix this issue?
Cheers
|
|
|
|
|
attributes are the name we use in our code for tags
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Might be a good idea to update the error message to use the terminology you display to the user, rather than the terminology you use in the code.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi Richard
I agree with you 100%
(That is common mistake developers do.)
Cheers
|
|
|
|
|
Hi
I found the answer by myself: at the beginning of the page where the article is edited, under the section "A 1-line description." there is the "Tags" input region.
The list in the input field was too long.
Once remove some items it was possible to publish the article.
Cheers
|
|
|
|
|
In response to my comment on this indecipherable mess [^], the author said:Quote: I'm working on it still, too early for publication. imho, this should not have been published.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
I have hit the red flag with "unclear / Incomplete"
You can do the same too and then only 3 left to go
@OriginalGriff, @Wendelius, @GregUtas
Maybe you want to reconsider your approval?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Hi so i am using python Django and using JavaScript with the help of fetch method but i am stuck can anyone please help
My python views File:
def Data(request):
items = Post.objects.all()
data = []
for qs in items:
I = {"title":qs.title,
"content": qs.content,
"image": qs.image.url,
}
data.append(I)
return JsonResponse({"data":data})
My Search_results HTML FILE:
{% extends 'blog/base.html' %}
{% load static %}
{% block content %}
<div class = 'w-100 text-center'>
<h1>Search Results</h1>
<form id = "search-form" autocomplete="off">
{% csrf_token %}
<input name = 'game' type="text" id = "search-input" placeholder= "Post Search..">
</form>
<div id = "results-box" class = "results-card">
</div>
</div>
{% endblock content %}
{% block js %}
<script defer src="{% static 'blog/S1.js' %}"> </script>
{% endblock js %}
My JS FILE:
console.log('Heelowwww')
const url = window.location.href
const searchForm = document.getElementById("search-form")
const searchInput = document.getElementById("search-input")
const resultsBox = document.getElementById("results-box")
const csrf = document.getElementsByName("csrfmiddlewaretoken")[0].value
options = {method: "GET",
headers: {
Accept: "application/json"
},
data:{
'csrfmiddlewaretoken': csrf,
}
}
const SearchPosts = async SearchIt => {
const res = await fetch("http://localhost:8000/data/",options)
const Posts = await res.json()
S = Posts["data"]
let matches = S.filter(post =>{
const regex = new RegExp(`^${SearchIt}`, 'gi')
return post.match(regex)
})
console.log(matches)
}
searchInput.addEventListener('input', () => SearchPosts(searchInput.value))
I get Filter is not a fucntion/method error
i am getting back an object so how can i do this
sorry a beginner in javascript
|
|
|
|
|
|
...And if so, how?
@Sean-Ewington
@PaltryProgrammer is having problems formatting code blocks: The Lounge[^] and I think it needs someone to have a look and help him out. If you want the job, help yourself - but if it is possible for Mentors I'd like to know how I find it ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I have swooped in. Thank you for the heads up!
But to answer your other question, in order to be able to edit his draft, you need to be able to find it from his article listing. In this case, Tips & Tricks, it's marked as an unfinished article, and you want to look for the most recent one. Then you should be able to open it up and edit it.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I can't see it in his tips'n'tricks, just the two published ones:

Is there an option I need to enable somewhere?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hmmm. I think you probably don't have the correct permissions. I guess only editors and admins have it.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Seems odd - shouldn't mentors be able to at least see the article they are trying to help with before it is published?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Any article that an author asks to have a Mentor is turned into a different status that anyone with the link can view.
I guess this is a subcase where someone who didn't specifically ask for a Mentor gets Mentor access. Something for us to think about.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thanks for fixing it!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It has been a few months since the last competition voting was held.
|
|
|
|
|
Our apologies. There is a bug with our voting system. It is on our bug list, but we've been busy with other things. The monthly article competition will return.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
So many unanswered questions. Who broke it? How were they punished?
|
|
|
|
|
Hi guys.
I've got a my technical blog RSS feed imported into CodeProject, and my first 3 articles were imported successfully. Just looking at my feed in CP though, it says that the last import was done on 7-Apr-21 6:17 (1 month ago). There is definitely new content there that hasn't been syndicated to CP.
Has my blog been blacklisted or something to that effect?
Thanks heaps.
|
|
|
|
|
Hi Jason,
Thanks very much for the message. I have the blog aggregator a kick and now new posts of yours are in the approval queue.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thanks mate, they seem to be imported now
Is there anything I could have done to kickstart the process? I think I read that feeds are meant to be ingested hourly, but it looks like mine was inactive for about a month or so. Or was there something in my feed that caused it do be dormant until manually invoked?
|
|
|
|
|
If there is an issue, it may be on our end. I'm keeping an eye on Technical Blogs as they come in to make sure the aggregator isn't busted. Sometimes it needs a kick.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|