String s = "this text has two sentences. this is the second one. Aggf. fgjdfg dfgjjdf dkkldf. FGjdfgj. lLIFgrkg";
Pattern p = Pattern.compile("(:?^|\\.)\\s?\\w");
Matcher m = p.matcher(s);
StringBuilder sb = new StringBuilder();
while (m.find()){
String match = m.group();
m.appendReplacement(sb, match.toUpperCase());
}
m.appendTail(sb);
System.out.println(sb.toString()); Since Simple JWT defaults to using 256-bit HMAC signing, the SIGNING_KEY setting defaults to the value of the SECRET_KEY setting for your django project.
Типичный процесс разработки django-проекта: